Count the number of mailboxes using PowerShell
If you need a quick and easy way to count the number of mailboxes in your Exchange environment then you can use the Get-Mailbox cmdlet:
(Get-Mailbox -ResultSize Unlimited).Count
If you need a quick and easy way to count the number of mailboxes in your Exchange environment then you can use the Get-Mailbox cmdlet:
(Get-Mailbox -ResultSize Unlimited).Count