Generate HTML Mailbox Size and Usage Report using PowerShell for Exchange 2010 / 2013

Here is a nice way to see who is using up the most space on your mailbox servers.

 

Get-Mailbox -ResultSize Unlimited | Get-MailboxStatistics | Select DisplayName,TotalItemSize,ItemCount,
Database,LastLogonTime,LastLoggedOnUserAccount |
SortTotalItemSize -Descending |
ConvertTo-Html -Title "Mailbox Stats"|Out-file "C:\MailboxStatistics.html

Leave a Reply

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