Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Enumerate computers including root DCs

Status
Not open for further replies.

cluM09

Technical User
May 15, 2004
127
US
Hello,

I have a need to enumerate the servers in the AD domain including the root DCs of the domain.

Does any one have a script that can pull the root DCs as well as all the servers in the AD domain?

Thanks.
 
Yes, I have posted sample code in my FAQ faq329-4871.

I hope you find this post helpful.

Regards,

Mark

Check out my scripting solutions at
Work SMARTER not HARDER. The Spider's Parlor's Admin Script Pack is a collection of Administrative scripts designed to make IT Administration easier! Save time, get more work done, get the Admin Script Pack.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top