Tuesday, 16 April 2013

Exchange 2007: PowerShell - Query Mailbox Sizes

A useful Exchange PowerShell script to list mailbox sizes and databases, sorted by size.

Get-MailboxStatistics | sort-object Database, TotalItemSize -Descending | ft DisplayName, @{expression={$_.TotalItemSize.Value.ToMB()};label="TotalItemSize(MB)"}, Database -autosize

No comments:

Post a Comment