Find The Number of Users per Mailbox Database Exchange 2010

2017-12-07T10:45:17+00:00 September 16th, 2011|Exchange|

In the Exchange 2010 Management Console, mailbox databases do not display any information in regards to the number of mailboxes stored within them. Below is a command which can be run in the Exchange Management Shell to retrieve this information:

(Get-MailboxDatabase) | ForEach-Object {Write-Host $_.Name (Get-Mailbox -Database $_.Name).Count}