Wednesday 8 May 2013

How to do a Hostname Audit

If you have a bunch of users on the floor and you want to get a list of hostnames or IP addresses (useful if you want to remotely administer) then one way of grabbing them without having to look at every PC individually is to:

Check your main fileserver, Computer Management, Shared Folders, Sessions. This will show you people connected and give the IP address. Then right click, Export list and save as txt. Then open this in Excel and you have a nice list.

Of course, it will only show those in that day.

To convert a list of IPs to hostnames, use this .vbs script. Not perfect but pretty good overall:

ip to hostname - hostname to ip - vbs - Excel Ping


Popular Posts