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 logon 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.

About A.J. Armstrong

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

View all posts by A.J. Armstrong

Leave a Reply

Your email address will not be published.

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