PowerShell obtenir IP à partir du nom de l'ordinateur

$ips = [System.Net.Dns]::GetHostAddresses("yourhosthere")
Muddy Manx