RE: [ActiveDir] Script to find Computers under particular OUs

2005-12-20 Thread Bahta Nathaniel V Contractor NASIC/SCNA
What language are you writing this in? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jitendra KalyankarSent: Tuesday, December 20, 2005 11:10 AMTo: ActiveDir@mail.activedir.orgSubject: [ActiveDir] Script to find Computers under particular OUs I am trying to find a way to

RE: [ActiveDir] Script to find Computers under particular OUs

2005-12-20 Thread Creamer, Mark
Wouldn’t it be faster/more efficient to search for all computer objects and output the entire distinguishedname (which would obviously include the ou name)?   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jitendra Kalyankar Sent: Tuesday, December 20, 2005 11:10 A

Re: [ActiveDir] Script to find Computers under particular OUs

2005-12-20 Thread Jitendra Kalyankar
_vbscript_ing would be great. I can do the dump of entire AD but just want to know how to script for particular set of OUs.   Sincerely, J  On 12/20/05, Creamer, Mark <[EMAIL PROTECTED]> wrote: Wouldn't it be faster/more efficient to search for all computer objects and output the entire distingui

RE: [ActiveDir] Script to find Computers under particular OUs

2005-12-20 Thread Marcus.Oh
@mail.activedir.org Subject: Re: [ActiveDir] Script to find Computers under particular OUs   _vbscript_ing would be great. I can do the dump of entire AD but just want to know how to script for particular set of OUs.   Sincerely, J   On 12/20/05, Creamer, Mark <[EM

RE: [ActiveDir] Script to find Computers under particular OUs

2005-12-20 Thread joe
Writing it this way is very inefficient. It would take x queries to look for each computer where X is the number of OUs you want to check since you can't tell AD "look only in these distinct OUs" unless you can specify one single branch of the hierarchy that contains all of the OUs. As you a

Re: [ActiveDir] Script to find Computers under particular OUs

2005-12-20 Thread Jitendra Kalyankar
Okay I got it. I will script as you mentioned in your second para. I know I can count on you guys   Sincerely, J  On 12/20/05, joe <[EMAIL PROTECTED]> wrote: Writing it this way is very inefficient. It would take x queries to look for each computer where X is the number of OUs you want to chec