Created
February 20, 2019 18:16
-
-
Save ronascentes/9b483c3d8501274e5503afb1f92036d0 to your computer and use it in GitHub Desktop.
Find host name from IP address
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ipAddress= "192.168.1.54" | |
[System.Net.Dns]::GetHostByAddress($ipAddress).Hostname |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment