How to Export Mailbox size exchange server

Open Exchange Powershell :

Get-MailboxStatistics -Database "Mailbox Database" | Select-object PrimarySmtpAddress, DisplayName, ItemCount, TotalItemSize | Sort-Object TotalItemSize -Descending | Export-CSV C:\MBSizes.csv

Leave a Reply

Your email address will not be published.