Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

This is somewhat related to this question: http://serverfault.com/questions/85372/batch-file-to-mass-ping-group-of-computers-on-network-by-name-check-reply-and-r

Long story short...I am working on a Vista upgrade project...we essentially have no reliable set of data indicating what machines we have on our network, who is the primary user, what operating system is currently running, etc.

Relevant(?) details of our network environment are:
DNS is AD integrated and uses secure dyanamic updates. Scavenging is set to 7 days. DHCP leases for workstations are set to 8 days. AD servers are 2003 R2 SP2. We have a mixture of Windows 2000, Windows Vista, Windows Server 2003 clients.

Ideally, the kind of information I would like to have is:

LoginDateTime (or, SCCM poll Time), UserName, MachineName, IP Address, MAC Address, Operating System

So I am hoping that this will give me an accurate view of what we are presently running. One pitfall is, when machines are upgraded over night, and the machine name changes from CGYxxxxx to NADxxxxx, the next morning when I rerun my query, I hope to be able to detect the presence of this new machine on the network (and, based on MAC Address, I should be able to assume the old computer name is now "dead").

Does anyone know if it is possible to pull this info using WMI, if it can be pulled from Windows 2000 clients, where workstations may or may not be running an SCCM client, and how reliable and up to date the information may be.

Update

See also (using powershell): http://serverfault.com/questions/87595/scripting-inventory-of-machine-name-current-username-operating-system-using-wmi

share|improve this question

1 Answer 1

Yes, it should be possible, the IP address is complicated a bit by the fact that there may be more than one of them though. Check Microsoft's site for some very useful WMI browsers. Should work with Windows 2000, as long as the WMI service is running.

Also, the WMI Code Creator is very handy.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.