Wednesday, June 4, 2014

Top 10 Mailboxes by size in Exchange 2010

Powershell:

Top 100 mailboxes by totalitemsize exported to .CSV

Get-Mailbox -ResultSize Unlimited | Get-MailboxStatistics | Sort-Object TotalItemSize -Descending | Select-Object DisplayName,TotalItemSize -First 100 | Export-CSV top100mailboxes.csv


Top 30 mailboxes by totalitemsize

Get-Mailbox -ResultSize Unlimited | Get-MailboxStatistics | Sort-Object TotalItemSize -Descending | Select-Object DisplayName,TotalItemSize -First 30

No comments:

Post a Comment