Skip to content

Instantly share code, notes, and snippets.

@sonjz
Last active June 12, 2018 14:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sonjz/6557bb409f6eee8558508ded90de1dd7 to your computer and use it in GitHub Desktop.
Save sonjz/6557bb409f6eee8558508ded90de1dd7 to your computer and use it in GitHub Desktop.
Powershell - WhatsMyIp
# src: https://gallery.technet.microsoft.com/scriptcenter/Get-ExternalPublic-IP-c1b601bb
$info = ((curl http://ipinfo.io/json).Content | ConvertFrom-Json);
$info ;
$info.ip ;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment