$IP = '10.1.12.12' [System.Net.Dns]::GetHostbyAddress($IP).HostName
You can type in the console directly and replace $IP with a string representing the IP, or you can include this in a bigger script.