John Yassa's Blog

Home » Exchange 2010 » Find The Total Number Of Mailboxes In Your Domain

Find The Total Number Of Mailboxes In Your Domain

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


2 Comments

  1. Pat says:

    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

    • JohnYassa says:

      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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: