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
September 25, 2013 at 6:27 pm
Have a look to this
http://ammarhasayen.wordpress.com/2013/09/24/the-most-amazing-exchange-2010-dashboard-report-script-monitor/
More advance report. One of the best out there.
It is full dashboard for Exchange health