how to find the name of a server with ip powershell code example
Example: powershell get ip from computer name
$ips = [System.Net.Dns]::GetHostAddresses("yourhosthere")
$ips = [System.Net.Dns]::GetHostAddresses("yourhosthere")