About
Pricing
Community
Teams
Start Free Trial
Log in
techdrive
asked on
3/9/2015
powershelll get number of mailbox users per OU one level down
Is there a way say that if you are given a certain top OU level EX: Microsoft.com/users/CA folks/ you will get a total of users per OU like this
Microsoft.com/users/CA folks/LA Office 26
Microsoft.com/users/CA folks/Burbank 102
Microsoft.com/users/CA folks/Ontario 54
Microsoft.com/users/CA folks/Inglewood 15
Microsoft.com/users/CA folks/Encino 88
Microsoft.com/users/CA folks/Anahiem 65
Powershell
Exchange
2
1
Last Comment
Jian An Lim
8/22/2022 - Mon
techdrive
3/10/2015
ASKER
thats ok was looking for a quick answer but found the answer by playing around
get-mailbox -resultsize:unlimited -OrganizationalUnit "OU name" | group-object organizationalunit | select name, count | export-csv
ASKER CERTIFIED SOLUTION
Jian An Lim
3/10/2015
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
get-mailbox -resultsize:unlimited -OrganizationalUnit "OU name" | group-object organizationalunit | select name, count | export-csv