Link to home
Start Free TrialLog in
Avatar of davidm27
davidm27

asked on

script to list all the sub-OUs under a OUand a total of the objects within these

How can I list all the sub-OUs under a OU and list the total of the objects that might be in those sub-OUs

for instance

OU=world
       OU=europe  20 workstation 15 users
       OU=Asia      15 worlstation 8 users

thanks

Avatar of gaurav05
gaurav05
Flag of India image

Avatar of davidm27
davidm27

ASKER

hi,
I have seen this script the essentially its not far off what i need, i just dont know how to get it to tally up the objects and place them next to there sub ou's as what it does just now basically gives all the objects but doesnt show me what ou they are in.
ASKER CERTIFIED SOLUTION
Avatar of Shabarinath TR
Shabarinath TR
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
That works great how would i go about outputting that to a csv file?
thanks
thanks