Microsoft Exchange – Export Mailbox Sizes to Excel

Exchange 2013 1
Exchange 2013 1

Estimated reading time: 1 minutes

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.

Share this content:

Click to rate this post!
[Total: 1 Average: 5]
Avatar for Andrew Armstrong

About Andrew Armstrong

Founder of TechyGeeksHome and Head Editor for over 15 years! IT expert in multiple areas for over 26 years. Sharing experience and knowledge whenever possible! Making IT Happen.

View all posts by Andrew Armstrong

Leave a Reply

Your email address will not be published. Required fields are marked *