what command will show me how many users are on each of my exchange servers

i have 1 2007 server and 2 2010 servers
i want to know how many mailboxes are on each server
LVL 1
dougdogAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

suriyaehnopCommented:
try this:

Get-Mailboxes -Server <exchange servername> | measure-object
0
SreRajCommented:
Hi,

Please try the following command.

Get-Mailbox | Group-Object -Property:ServerName | Select Name,Count

Open in new window

0
dougdogAuthor Commented:
no none of these seem to work
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

BusbarSolutions ArchitectCommented:
what do you want to do exactly?!
0
dougdogAuthor Commented:
i need to see how many mailboxes are on each of my servers
0
suriyaehnopCommented:
Get-Mailbox -Server [b]exch2007/10name[/b] -ResultSize Unlimited | Measure-Object

Open in new window


The output:

[PS] C:\Windows\system32>Get-Mailbox -Server exchdc01 -ResultSize Unlimited | Measure-Object


Count    : 9
Average  :
Sum      :
Maximum  :
Minimum  :
Property :
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
BusbarSolutions ArchitectCommented:
Then SreRaj suggestion would work for you, are you sure that you open the Exchange powershell

maybe:
 (Get-Mailbox -server servername -resultsize unlimited).count
0
dougdogAuthor Commented:
excellent
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.