How to Count Number of Mailboxes in Exchange 2010 Using Powershell   Leave a comment

Command to count all type of mailboxes in Exchange Management Shell

Get-Mailbox -ResultSize Unlimited | measure-object

Command to count Specific type of mailboxes in Exchange Management Shell

Get-Mailbox -ResultSize Unlimited | where {$_.ResourceType -eq “Equipment”} | measure-object

Command to count mailboxes on a specific server in Exchange Management Shell

Get-Mailbox -ResultSize Unlimited | where {$_.ServerName -eq “SERVERNAME”} | measure-object

Advertisements

Posted April 23, 2014 by Prem Rana in EMS Commands (Powershell)

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: