PowerShell Obtenha IP do nome do computador
$ips = [System.Net.Dns]::GetHostAddresses("yourhosthere")
Muddy Manx
$ips = [System.Net.Dns]::GetHostAddresses("yourhosthere")