Microsoft Exchange – Export Mailbox Sizes to Excel

Exchange 2013 1

If you want to export an Exchange mailbox database list to Excel so that you can see how large users’ mailboxes are, you can do this using the Exchange Management Shell (EMS).

All you need to do is to login to your Exchange server with your mailbox database on, open up the Exchange Management Shell (EMS) and then run the following command:

Get-MailboxStatistics -Database "First Storage GroupMailbox Database" | Select DisplayName, ItemCount, TotalItemSize | Sort-Object TotalItemSize -Descending | Export-CSV C:MBSizes.csv

Press enter and this will export the data into a CSV file on the root of your Exchange Server.

Comments

If you have any questions or comments about this, please feel free to use our comments system below.

Click to rate this post!
[Total: 1 Average: 5]

Discover more from TechyGeeksHome

Subscribe to get the latest posts sent to your email.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.