Last active
June 12, 2018 14:48
-
-
Save sonjz/6557bb409f6eee8558508ded90de1dd7 to your computer and use it in GitHub Desktop.
Powershell - WhatsMyIp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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