March 02, 2010

Get a Computer's Host Name with an IP Address or Vice Versa

Have you ever wanted to get the name of a PC on your network when all you had was an IP Address?
Well here's how you do it.
  1. Open up a Command Prompt window (Start => Run => type CMD)
  2. Type ping -a 10.222.110.9
    • Replace IP Address with your own
  3. Hit the ENTER key and the ping will return the host name assigned to that IP Address
  4. If you have the reverse information, type ping MyComputerName and this will return the IP Address for the computer that matches that name.