Created
May 12, 2020 00:12
-
-
Save zhiyouce/1c6bfed9caa0aab9179baf593a53fc4b to your computer and use it in GitHub Desktop.
windows PS :IP query
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
| function curlIP { | |
| $ipcUrl ="http://api.db-ip.com/v2/free/" + $args[0] | |
| curl $ipcUrl | |
| } | |
| Set-Alias IP curlIP |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment