``` Powershell
Få offentlig IP-adress
$publicIP =((New-Object System.Net.WebClient).DownloadString(\"https://ipv4.icanhazip.com\")).Replace("\r", "").Replace("\n" , "")
Visa offentlig IP-adress
Write-Host "Din offentliga IP-adress är:"
Skriv-värd $publicIP
```