Get the top 10 mailboxes across all your Exchange 2003 servers

$servers = ‘server1′,’server2’,etc, etc,etc
Get-Wmiobject -namespace rootMicrosoftExchangeV2 -class Exchange_Mailbox -computer $servers | sort-object Size -Descending | select-object -First 10 MailboxDisplayName,Servername,StorageGroupName,StoreName,Size | Export-Csv Top10Mailboxes.csv

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s