The Exchange Mail Box Size Report In 2010 Version
I will tell you how to create Mailbox size reports in Exchange 2010. Just follow these simple steps.
1) Open the ‘Exchange management shell’
Now, if you want to;
a) Report, the mailbox size in the entire Exchange organization, use this command;
Get-Mailbox | Get-MailboxStatistics | Sort totalitemsize -desc | ft displayname, totalitemsize, itemcount
Get-Mailbox | Get-MailboxStatistics | Sort totalitemsize -desc | ft displayname, totalitemsize, itemcount | Export-CSV C:mailboxessize.csv
b) Report the mailbox size in a specific Exchange server, use this command;
Get-Mailbox -server servername | Get-MailboxStatistics | Sort totalitemsize -desc | ft displayname, totalitemsize, itemcount
Get-Mailbox -server servername | Get-MailboxStatistics | Sort totalitemsize -desc | ft displayname, totalitemsize, itemcount | Export-CSV C:mailboxessize.csv
c) Just report a particular mailbox size, use the following command;
Get-Mailbox myaliasname | Get-MailboxStatistics | Sort totalitemsize -desc | ft displayname, totalitemsize, itemcount
Get-Mailbox myaliasname | Get-MailboxStatistics | Sort totalitemsize -desc | ft displayname, totalitemsize, itemcount | Export-CSV C:mailboxessize.csv
I hope this helps.