Exchange Mailbox Size 2007-2010

Here is the power shell command for viewing all users mailbox size and item number. This command also sorts the data from highest to lowest.

Get-MailboxStatistics | Sort-Object TotalItemSize -Descending | ft DisplayName,@{label=”TotalItemSize(MB)”;expression={$_.TotalItemSize.Value.ToMB()}},ItemCount

On the exchange 2010 server or multi server environments. The identity must be specified.

Get-MailboxStatistics –server “servername” | Sort-Object TotalItemSize -Descending | ft DisplayName,@{label=”TotalItemSize(MB)”;expression={$_.TotalItemSize.Value.ToMB()}},ItemCount

You can export this command to a text file by adding this at the end: > c:\mailboxes.txt

Mark as helpful. 0

Posted in: Exchange

Posted in