NBTSTAT -a
What if you want to find the computer name associated with a specific IP address? The solution is simple. You can once again find the information you are looking for using the NBTSTAT command, only this time with a different switch. Instead of using -a, you will use -A and specify an IP address as shown below:
NBTSTAT -A
The results will tell you the computer name that is currently associated with the IP address you have specified.