Exchange 2010 mailbox size list

Export a list with all mailboxes on a Exchange 2010 R2 server to a file.

Get-MailboxStatistics -Server YOUREXCHANGESERVER | where {$_.ObjectClass –eq “Mailbox”} | Sort-Object TotalItemSize –Descending | ft @{label=”User”;expression={$_.DisplayName}},@{label=”Total Size (MB)”;expression={$_.TotalItemSize.Value.ToMB()}},@{label=”Items”;expression={$_.ItemCount}},@{label=”Storage Limit”;expression={$_.StorageLimitStatus}} -auto >>C:\Mailboxsize.txt

Posted in Exchange 2010 and tagged , .

One Comment

  1. Ok but how do i set the mail size?
    I am non technical guy and i don`t have to much knowledge about this. I my business work i some time my mail box get slow due to high size of sample data. please can you provide the step by step process.

Leave a Reply