Module for geting Public IP of the computer.
Copy and Paste the following command to install this package using PowerShellGet
Install-Module -Name WhatIsMyIP
Please refer to the comment-based help for more information about these commands.
This function is used to get External IP address using ipify.org and ipinfo.io APIs.
Get-PublicIP [-Detailed] [-WhatIf] [-Confirm] [<CommonParameters>]
PS> whatismyip -detailed
ip : 1.1.1.1
hostname : one.one.one.one
anycast : True
city : Los Angeles
region : California
country : US
loc : 34.0522,-118.2437
org : AS13335 Cloudflare, Inc.
postal : 90076
timezone : America/Los_Angeles