skip to Main Content

Count mailboxes per Exchange Server with PowerShell

In a previous post, we did count mailboxes per database in Exchange Server. What if you want to count mailboxes per Exchange Server with PowerShell? Let’s show you how to get that information in Exchange Server 2010/2013/2016/2019.

Get total count mailboxes per Exchange Server

Run Exchange Management Shell as administrator.

[PS] C:\>Get-Mailbox -ResultSize Unlimited | Group-Object -Property:ServerName | Select-Object Name, Count

Name Count
---- -----
ex01   421
ex02   271

One of the commands that I often use! Did you use the command, and did it help you?

Keep reading: Move all mailboxes from one database to another »


In this article, you learned how to count mailboxes per Exchange Server with PowerShell. It’s an essential command if you want to get the total mailbox count per Exchange Server.

Did you enjoy this article? You may also like Find total number of mailboxes in Exchange. Don’t forget to follow us and share this article.



ALI TAJRAN is a passionate IT Architect, IT Consultant, and Microsoft Certified Trainer. He started Information Technology at a very young age, and his goal is to teach and inspire others. Read more »

This Post Has 0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *