Well we are a mostly Win XP shop here, so if I can grab all of the computer names and output to a .txt I can pick and choose the systems. Anyone have a pre-built script?

 

David A. Marquis

Computer Systems Administrator


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Coleman, Hunter
Sent: Friday, April 08, 2005 9:45 AM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Retrieving computer accounts

 

adfind -gc -b "dc=domain,dc=com" -f "(objectClass=computer)"

 

or you could do the same thing with ADSI, using "GC://" instead of "LDAP://". Are you sure you don't want to do some additional filtering? You may end up pulling a bunch of computer accounts that don't need to get SP2 (is that XP SP2?).

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave A. Marquis
Sent: Friday, April 08, 2005 8:37 AM
To: ActiveDir@mail.activedir.org
Subject: [ActiveDir] Retrieving computer accounts

Hello All,

 

Does anyone know a script that will gather all computer accounts in a forest? I want to build a list of computer names so I can make a script to send the Win SP2 package to the file system, but not install it.

 

Dave

This e-mail message, including all attachments, is for the sole use of the intended recipients(s) and may contain confidential and privileged information. You may NOT use, disclose, copy, or disseminate this information. If you are not the intended recipient, please contact the sender by reply e-mail immediately. Please destroy all copies of the original message and all attachments.

Reply via email to