Clayton,

 

                If you pull a list of computer accounts using dsquery,
it will include the OU information by default.

 

Dsquery computer > computers.csv

 

                I was just messing with this command yesterday If you
Google dsquery there's a ton of info.

 

 

Don Guyer

Systems Engineer - Information Services

Prudential, Fox & Roach/Trident Group

431 W. Lancaster Avenue

Devon, PA 19333

Direct: (610) 993-3299

Fax: (610) 650-5306

[email protected] <mailto:[email protected]> 

 

From: James Rankin [mailto:[email protected]] 
Sent: Wednesday, August 26, 2009 7:47 AM
To: NT System Admin Issues
Subject: Re: DSQuery

 

Have you tried adfind?

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

2009/8/26 Clayton Doige <[email protected]>

Hi all, ust a quick one, I'd like to get information out of AD that
tells me which OU's contain computer accounts in a 2K3 domain. I can't
seem to get what i am looking for from DSQuery, so am just wondering if
anyone out there has done something non scripty that pulls this
information out of AD?

 

Thanks

 

Clayton

 

 




-- 
"On two occasions...I have been asked, 'Pray, Mr Babbage, if you put
into the machine wrong figures, will the right answers come out?' I am
not able rightly to apprehend the kind of confusion of ideas that could
provoke such a question."

http://raythestray.blogspot.com

 

 

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

Reply via email to