The Sysadmins

Tips and tricks from the Sysadmins

Exchange – Mailbox size and Item Count HTML Report

A nice and quick way to get a list of users in a particular database, ordered by their mailbox size including item count. Displayed as so:


Get-Mailbox -database "Databaseabc" | Get-MailboxStatistics | Sort-Object TotalItemSize -descending |Select-Object DisplayName,ItemCount,@{name="MailboxSize";exp={$_.totalitemsize}} | Convertto-Html | out-File Databaseabcreport.htm

1 Comment

  1. Have a look to this
    More advance report. One of the best out there.
    It is full dashboard for Exchange health

Leave a Reply

Your email address will not be published.


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