Check out http://www.windowsitpro.com/Windows/Article/ArticleID/44085/44085.html
for a script that will document the OU structure and the number of user, group
and computer accounts contained therein. It doesn’t list the
individual accounts that are contained in each, but it should be easy enough
(says she who has no grasp of coding) to tweak it to output each of these
rather than just updating the count. Cheers, katherine From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Lou Vega If you’re interested I have similar
code which can be dropped into a simple VB.NET form and run that way. I was
doing this type of operation routinely enough that I just put the whole thing
in a VB.NET app so I could pull it up on the screen for the management whenever
they wanted it. r/ Lou -----Original Message----- Here is
a simple recursive VB script that can accomplish this strDomain =
"DC=ds,dc=nplab,dc=secure" ‘ Enter your DN here Regards Brad From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rogers, James In ADUC
2003, an "Export List" command is available that will export the
contents of the immediate OU you're viewing. Is there a way to export the
full tree for an entire domain? I'd like to pull a list of all OU's,
their position in the tree, and their contents. Is this possible, or just
a pipe dream? -James
R. Rogers |
Title: Message