Exchange Powershell Tip

Do you want to know how to get the mailbox count per database on a particular server?  Use the following cmdlet to get that information:

Get-Mailbox -Server servername | Group-Object -Property:database | select Name,Count | FT -AutoSize

Remember to change “servername” to the name of your Primary Mailbox server.

Here’s an example of the command output:

example