Exchange Mailbox size sorted for all users

In the Exchange management shell you can run the following command.

Get-mailbox | Get-Mailboxstatistics | select displayname,TotalItemSize,ItemCount, @{expression={$_.totalitemsize.value.ToMB()};label=”Size(MB)”} | Sort-Object TotalItemSize -Descending

For Exchange 2019 the command is slitly different:

Get-Mailbox | Get-MailboxStatistics | Select DisplayName, TotalItemSize, PrimarySmtpAddress | Sort-Object -Property TotalItemSize -Descending

Be the first to comment

Leave a Reply