經安全檢測,此網站為安全網站,請放心前往原始網址!

PowerShell: IP and Host Name Lookups (nslookup) « Lange's Tech Musings

10 April 2013 at 17:18 If you mean the hostname of the machine you are on, $Env:Computername should work. If you want to get the hostname from the IP, you can use: $IP = “192.168.0.1” [System.Net.Dns]::GetHostEntry($IP).hostname

daniellange.wordpress.com

網址安全性掃描由 google 提供