It is always great to get a total user count in Exchange. Get the total mailbox count if you are planning a migration or if there is a new Exchange project going on. It’s also possible that the customer or an external team wants to know how many user mailboxes are active in the organization. If you need to know the total count in Exchange, you can get the information through the Exchange Management Shell very quickly with one command. Let’s see it in action.
Get total user count in Exchange with PowerShell
Let’s get the total count with PowerShell. We are going to make use of the Get-Mailbox cmdlet. Run Exchange Management Shell as administrator and run the following command.
[PS] C:\>(Get-Recipient -RecipientTypeDetails usermailbox -ResultSize Unlimited).count
Get total user count in Exchange EAC
You can find the total mailboxes count in Exchange Admin Center. Log into EAC. Click in the left menu recipients. After that, click in the top menu mailboxes. You will find the total mailbox count at the bottom.
Now that you have the total mailbox count, what if you want to count mailboxes per database? Read the article Count mailboxes per database in Exchange with PowerShell »
In this article, you learned how to get the total user count with just one line of PowerShell code. That’s why I always recommend the Exchange Management Shell. You also learned how to find the total count with the Exchange Admin Center (EAC). Did you enjoy this article? You may like Move Exchange mailbox FailedOther stops at 95%. Don’t forget to follow us and share this article.