Saturday, March 30, 2013

Exchange - Sort Mailboxes by Size in MB's

Open the Exchange PowerShell Module and type the following command.


Get-MailboxStatistics -database “<Server Name>\<Storage Group>\<Database>” | Sort-Object -Property TotalItemSize | select-object DisplayName, {$_.TotalItemSize.Value.ToMB()}

No comments: