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
wget http://myexternalip.com/raw -O myip.txt
and your ip address will be in myip,txt