Solved

Need a powershell script for mailbox size on Exchange 2010

Posted on 2011-09-22
5
455 Views
Last Modified: 2012-06-21
We are using Exchange 2010 SP1.  Is there a way to output the mailbox user and size of each mailbox for all the mailboxes on a storage group?
0
Comment
Question by:TPBPIT
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 19

Accepted Solution

by:
Raheman M. Abdul earned 250 total points
ID: 36580098
Try the script:

Get-Mailbox -ResultSize Unlimited | Get-MailboxStatistics | Select-Object DisplayName, @{name="TotalItemSize(MB)";expression={$_.TotalItemSize.Value.ToMB()}}, ItemCount | Export-Csv "UserMailboxSizes.csv" -NoTypeInformation
0
 

Author Comment

by:TPBPIT
ID: 36580131
CLose, but I also need the database that the mailbox belongs to outputed in this.
0
 
LVL 37

Assisted Solution

by:Neil Russell
Neil Russell earned 250 total points
ID: 36580161
Get-Mailbox -ResultSize Unlimited | Get-MailboxStatistics | Select-Object DisplayName, @{name="TotalItemSize(MB)";expression={$_.TotalItemSize.Value.ToMB()}}, ItemCount, Database | Export-Csv "UserMailboxSizes.csv" -NoTypeInformation
0
 
LVL 23

Expert Comment

by:yo_bee
ID: 36580189
0
 

Author Closing Comment

by:TPBPIT
ID: 36580196
Thanks for the quick responses.  I'm new to the whole powershell world and have a lot to learn.
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Windows server 2008 exchange 3 67
EXCH2013 - publicFolders 4 39
Archiving/Deleting Old E-Mail boxes 4 41
Bulk export PST files in MS Exchange 2016 2 58
This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
Read this checklist to learn more about the 15 things you should never include in an email signature.
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates‚Ķ
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question