Determine the average mailbox size using PowerShell

 

I have been asked to provide a colleague with some statistics around our Exchange environment, including the average mailbox size.  There is no way to determine this using the GUI so once again PowerShell comes to the rescue with a combination of the Get-Mailbox and GetMailboxStatistics cmdlets:

Get-Mailbox -Resultsize Unlimited | Get-MailboxStatistics | %{$_.TotalItemSize.Value.ToMB()} | Measure-Object -Average

Average_Mailbox_Size

[BlogBookmark] [Blogsvine] [del.icio.us] [Digg] [Facebook] [Furl] [Google] [LinkedIn] [MySpace] [Reddit] [Slashdot] [StumbleUpon] [Twitter] [Windows Live] [Yahoo!] [Email]