In the Exchange Management Shell, to get a simple list of mailboxes sorted by size, in descending order:
Get-Mailbox | Get-MailboxStatistics | Sort-Object TotalItemSize -descending | ft DisplayName,TotalItemSize -autosize
Now let’s dig a little deeper and show each mailbox’s storage quota limit status and display the total count of email messages as well:
Get-Mailbox | Get-MailboxStatistics | Sort-Object TotalItemSize -descending | ft DisplayName,StorageLimitStatus,ItemCount,TotalItemSize -autosize
Continue reading “Exchange Server 2010 – Get a List of Mailboxes by Size”