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?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mike KlineCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AwinishCommented:
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Scripting Languages

From novice to tech pro — start learning today.