F
Frank
How can run a report on the service pack level on all of
my domain computers in active directory?
Thanks,
Frank
my domain computers in active directory?
Thanks,
Frank
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
Frank said:How can run a report on the service pack level on all of
my domain computers in active directory?
Thanks,
Frank
Joe Richards said:You can just do a simple ldap query and display the operatingsystem and
operatingsystemservicepack attributes.
Many ways to do that as ldap is a standard mechanism.
One way would be to do something like
adfind -b dc=domain,dc=com -f objectcategory=computer operatingsystem
operatingsystemservicepack
It would look something like:
[Mon 05/10/2004 16:05:53.97]
F:\temp>adfind -b dc=joe,dc=com -f objectcategory=computer operatingsystem
operatingsystemservicepack
AdFind V01.15.00cpp Joe Richards ([email protected]) April 2004
Using server: 2k3dc01.joe.com
dn:CN=2K3DC01,OU=Domain Controllers,DC=joe,DC=comoperatingSystem: 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 05/10/2004 16:05:58.94]
F:\temp>
Alternatively you can script it and dump it out in whatever format you want,
maybe pick up Robbie Allen's Active Directory Cookbook for scripting info, he
has lots of ready made scripts that are easy to modify.
joe
--
Joe Richards Microsoft MVP Windows Server Directory Services
www.joeware.net
How can run a report on the service pack level on all of
my domain computers in active directory?
Thanks,
Frank
I just love that computer name: fastmofo!
Cary
You can just do a simple ldap query and display the operatingsystem and
operatingsystemservicepack attributes.
Many ways to do that as ldap is a standard mechanism.
One way would be to do something like
adfind -b dc=domain,dc=com -f objectcategory=computer operatingsystem
operatingsystemservicepack
It would look something like:
[Mon 05/10/2004 16:05:53.97]
F:\temp>adfind -b dc=joe,dc=com -f objectcategory=computer operatingsystem
operatingsystemservicepack
AdFind V01.15.00cpp Joe Richards ([email protected]) April 2004
Using server: 2k3dc01.joe.com
dn:CN=2K3DC01,OU=Domain Controllers,DC=joe,DC=comoperatingSystem: 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 05/10/2004 16:05:58.94]
F:\temp>
Alternatively you can script it and dump it out in whatever format you
want,
maybe pick up Robbie Allen's Active Directory Cookbook for scripting info,
he
has lots of ready made scripts that are easy to modify.
joe
--
Joe Richards Microsoft MVP Windows Server Directory Services
www.joeware.net
How can run a report on the service pack level on all of
my domain computers in active directory?
Thanks,
Frank
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.