MS Active Directory OU Structure Report

I'm looking for a script that will scan my Windows Server 2008 Active Directory and dump to a text file the fully qualified domain name of each OU.  

Each OU should be on a separate line.  

I don't have any 3rd party tools, so I'm thinking DSACLS with PowerShell or VBScript.

Any suggestions where I can find this script?
xi2payAsked:
Who is Participating?
 
Mike KlineConnect With a Mentor Commented:
Can you use a great free third party tool?

http://www.joeware.net/freetools/tools/adfind/index.htm

adfind by MVP Joe Richards has a shortcut to dump the OU info

adfind -sc oudmp

Thanks

Mike
0
 
AwinishConnect With a Mentor Commented:
Try ADmanagerplus,its a good tool for reporting & may be it can help you.

http://www.manageengine.com/products/ad-manager/
0
 
KaffiendCommented:
Microsoft provides for you:
Active Directory Topology Diagrammer

(requires Visio, as it generates Visio files)
0
 
xi2payAuthor Commented:
Thank you very much for the info, guys.  ADFIND did the trick!  Sweet!
0
All Courses

From novice to tech pro — start learning today.