How can you quickly find the total number of mailboxes in your Domain? You can do it now by running a shell command.
Get-Mailbox -ResultSize unlimited | Measure-Object
You can further customize the command to your requirements. Let’s say that you want to find out the mailboxes in one particular database or one particular server. You can find it by adding more switches to the above command. Run the following…
Get-Mailbox –database dbname -ResultSize unlimited | Measure-Object
Get-Mailbox –Server servername -ResultSize unlimited | Measure-Object
Hello John,
If i have a parent+child domains. Exchange on parent. I need to find only the mailboxes in parent or mailboxes in child. how can this be done?
Thanks in advance
Pat
Hi Pat
you can use the below command
Get-Mailbox -DomainController “name of domain controller of child or parent domain” -ResultSize unlimited | Measure-Object
or if these mailboxes are distributed on different mailbox server
Get-Mailbox -Server “FQDN of server host the mailboxes” -ResultSize unlimited | Measure-Object