Thursday 9 August 2012

Get Large Mailboxes from exchange

Using the below script we can get the large mailboes report from the exchange 2007


Get-Mailbox -ResultSize Unlimited | Get-MailboxStatistics | Where {$_.TotalItemSize -gt 500MB} `
| Select-Object DisplayName, ItemCount, TotalItemSize, TotalDeletedItemSize, StorageLimitStatus `
| Export-Csv "BigMailbox$(Get-Date -f 'yyyyMMdd').csv" -NoType

No comments:

Post a Comment