If they are in active directory

Adfind -b dc=domain,dc=com -f objectcategory=computer operatingsystem
operatingsystemservicepack 


Should look something like

[Mon 03/29/2004 19:05:17.06]
F:\DEV\cpp\OldCmp>Adfind -b dc=joe,dc=com -f objectcategory=computer
operatingsystem operatingsystemservicepack

AdFind V01.12.00cpp Joe Richards ([EMAIL PROTECTED]) May 2003

Using server: 2k3dc01.joe.com

dn:CN=2K3DC01,OU=Domain Controllers,DC=joe,DC=com
>operatingSystem: Windows Server 2003

dn:CN=2K3UTL01,CN=Computers,DC=joe,DC=com
>operatingSystem: Windows Server 2003

dn:CN=2K3WEB01,CN=Computers,DC=joe,DC=com
>operatingSystem: Windows Server 2003

dn:CN=fastmofo,CN=Computers,DC=joe,DC=com
>operatingSystem: Windows XP Professional
>operatingSystemServicePack: Service Pack 1


4 Objects returned

[Mon 03/29/2004 19:05:30.61]
F:\DEV\cpp\OldCmp>



-------------
http://www.joeware.net   (download joeware)
http://www.cafeshops.com/joewarenet  (wear joeware)
 
 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nathan Danso
Sent: Monday, March 29, 2004 12:32 PM
To: [EMAIL PROTECTED]
Subject: [ActiveDir] Query Service Pack

Will anyone be kind enough to point me to a tool or script that I ran to
check the service pack level installed on machines? Thanks in advance.

Nathan

________________________________________________________________________

This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden. TradeWeb reserves the right to monitor all
e-mail communications through its networks.

List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

Reply via email to