Get your WAN/public IP address using PowerShell and ipify.org
Posted in Networking, PowerShell
I just discovered the ipify.org service to quickly get your public / WAN IP address. https://www.ipify.org/ – API Usage for IPv4 So to get the WAN / public IP address using PowerShell (New-Object System.Net.WebClient).DownloadString(‘https://api.ipify.org’) Or get it as JSON and ConvertFrom-Json-it (New-Object System.Net.WebClient).DownloadString(‘https://api.ipify.org?format=json’) | ConvertFrom-Json Yeah, i know, my WAN IP is visible in the…