Member Server List

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!
 
J

Joe Richards [MVP]

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
 
J

Jerold Schulman

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
 
J

Joe Richards [MVP]

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
 

Ask a Question

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.

Ask a Question

Top