You have a DAG setup, and the mailbox database disk is getting full. However, when…
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. 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 will use the Get-Mailbox cmdlet. Run Exchange Management Shell as administrator and run the following command.
[PS] C:\>(Get-Mailbox -RecipientTypeDetails UserMailbox -ResultSize Unlimited).count 33
Read more: Find total number of mailboxes in Exchange »
Get total user count in Exchange Admin Center
You can find the total mailboxes count in Exchange Admin Center. Navigate to recipients > 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? Keep reading: Count mailboxes per database in Exchange with PowerShell »
You learned how to get the total user count with one PowerShell command. 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.