Skip to content

Instantly share code, notes, and snippets.

@seantunwin
Created September 11, 2019 17:11
Show Gist options
  • Save seantunwin/734478c1ace460f3f3c5117e70e02435 to your computer and use it in GitHub Desktop.
Save seantunwin/734478c1ace460f3f3c5117e70e02435 to your computer and use it in GitHub Desktop.
PowerShell: Get HostName from IP
[System.Net.Dns]::GetHostByAddress($ipAddress).Hostname
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment