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
for instance
OU=world
OU=europe 20 workstation 15 users
OU=Asia 15 worlstation 8 users
thanks
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.
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
That works great how would i go about outputting that to a csv file?
thanks
thanks
ASKER
thanks
check this one
http://blogs.msdn.com/b/alejacma/archive/2008/04/23/how-to-get-a-list-of-all-users-in-an-ou-vbscript.aspx