4 methods 1. invoke rest method shorthand irm ipinfo.io 2. invoke rest method Invoke-RestMethod ipinfo.io 3. invoke rest method and only return a specific field Invoke-RestMethod ipinfo.io/ip 4. invoke web request and print body or field from body (Invoke-WebRequest ipinfo.io/ip).Content Output example: ip : hostname : city : region : country : loc : org : postal : non-powershell alternative - uses OpenDNS with command line nslookup myip.opendns.com 208.67.222.222