Using a web service, it is almost trivial to determine your public IP address and information about your ISP:
PS> Invoke-RestMethod -Uri https://ipinfo.io ip : 84.165.49.158 hostname : p54a5319e.dip0.t-ipconnect.de city : Hannover region : Lower Saxony country : DE loc : 52.3705,9.7332 org : AS3320 Deutsche Telekom AG postal : 30159 timezone : Europe/Berlin readme : https://ipinfo.io/missingauth