Using the Exchange Management Shell, you can create a create a report of all mailboxes and list their size.
List all mailboxes in a database – Exchange Management Shell
The following command will list all mailboxes in the ‘MailDB1’ database:
Get-MailboxStatistics -Database 'MailDB1' | format-table DisplayName, TotalItemSize, TotalDeletedItemSize, Database, ServerName
List all mailboxes on a server – Exchange Management Shell
The following command will list all mailboxes on the ‘W2K8EXCH’ server:
Note, you need to use a server with the ‘Mailbox’ role.
Get-MailboxStatistics -Server W2K8EXCH | format-table DisplayName, TotalItemSize, TotalDeletedItemSize, Database, ServerName
Got a project that needs expert IT support?
From Linux and Microsoft Server to VMware, networking, and more, our team at CR Tech is here to help.
Get personalized support today and ensure your systems are running at peak performance or make sure that your project turns out to be a successful one!
CONTACT US NOW