Wednesday, December 11, 2024

Determine Your WAN IP with one Powershell command

 Since I get a lot of positive feedback from my short videos and articles......

Her is one PowerShell command to display your WAN IP:


(Invoke-RestMethod -Uri 'http://ipinfo.io/json').ip


the output will look something like this


another way is using wget

and your ip address will be in myip,txt

No comments:

Post a Comment

Popular post