x

Agile Insider Blog

Quick Tip> Get Mailbox Sizes in Exchange 2007 Through PowerShell (No Console GUI Available)

From the Exchange Management Shell (PowerShell Command Line):

 

To Get Mailbox List With Size (Sorted by mailbox size):

Get-MailboxStatistics |sort $_.TotalItemSize |FT DisplayName,ItemCount,TotalItemSize

To Get Mailbox List With Size (Sorted by Mailbox Size, Only List Mailboxes Over 1GB in Size)

Get-MailboxStatistics |where {$_.TotalItemSize -gt -ne 1000mb} | sort $_.TotalItemSize |FT DisplayName,ItemCount,TotalItemSize

 

To Get Mailbox List With Size (Sorted by Mailbox Size, Only List Mailboxes Over 5GB in Size, Saved to a Text File on C:)

Get-MailboxStatistics |where {$_.TotalItemSize -gt 1000MB} | sort $_.TotalItemSize |FT DisplayName,ItemCount,TotalItemSize >C:MailboxStats.txt

 

If you need a GUI (sometime you do), check out PowerGUI which redirects PowerShell Outputs to a GUI like interface.

Leave a comment

Learn More Today

Have questions or want to learn more about the services and solutions Agile IT has to offer?

Schedule a call with us today!

Schedule a Call
or

Request a Quote