Powershell

Get external IP

(invoke-webrequest http://ip.miaka.info).content
(invoke-webrequest http://144.76.201.145/ip).content