Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This is somewhat related to this question:

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.


See also (using powershell):

share|improve this question

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


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.