Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Get a computer's external IP using powershell
(Invoke-WebRequest -UseBasicParsing ifconfig.me/ip).Content.Trim()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment