Get Mailbox Sizes in Exchange 2007 using Powershell
Filed in Exchange 2007 on Oct.04, 2010
Paste the following into the powershell command prompt:
Get-MailboxStatistics -Database “mailbox database” | Sort -Property DisplayName | ft DisplayName, @{expression={$_.totalitemsize.value.ToMB()};label=”Mailbox Size(MB)”}, itemcount > c:\mailboxes.txt
a text file located at c:\mailboxes.txt should now contain the mailbox size information with item counts for each user.
