``` Powershell
Få offentlig IP-adresse
$publicIP =((New-Object System.Net.WebClient).DownloadString(\"https://ipv4.icanhazip.com\")).Replace("\r", "").Replace("\n" , "")
Vis offentlig IP-adresse
Write-Host "Din offentlige IP-adresse er:"
Skrivevert $publicIP
```