Member Server List

  • Thread starter Thread starter Alan Tang
  • Start date Start date
A

Alan Tang

Hello:

Is it possible to extract the current domain member's information? I
need the Host Name, if it can have OS version and service pack will be
better.

Thanks a lot!
 
Do you mean from AD?

If so, yes, just query for the computer objects and and return dNSHostName,
operatingsystem and operatingsystemservicepack.

--
Joe Richards Microsoft MVP Windows Server Directory Services
Author of O'Reilly Active Directory Third Edition
www.joeware.net


---O'Reilly Active Directory Third Edition now available---

http://www.joeware.net/win/ad3e.htm
 
Hello:

Is it possible to extract the current domain member's information? I
need the Host Name, if it can have OS version and service pack will be
better.

Thanks a lot!

You can easily modify tip 9855 » How can I return the NetBIOS and distinguished name of all computers in my Active Directory domain, using built-in commands?
in the 'Tips & Tricks' at http://www.jsifaq.com

OR

Use Joe's ADFind.exe (tip 5898 » Freeware ADFind.)

adfind -default -csv -nocsvheader -nodn -f "objectcategory=computer" dNSHostName operatingsystem operatingsystemservicepack




Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
http://www.jsifaq.com
 
NT4 domains don't maintain the needed info. You would have to retrieve a list of
all machines from the domain, then query each one of them individually, Dean or
someone may have some knowledge of command line tools to pull this off but most
likely you will need a script.

--
Joe Richards Microsoft MVP Windows Server Directory Services
Author of O'Reilly Active Directory Third Edition
www.joeware.net


---O'Reilly Active Directory Third Edition now available---

http://www.joeware.net/win/ad3e.htm
 
Back
Top