Skip to content

Instantly share code, notes, and snippets.

@zhiyouce
Created May 12, 2020 00:12
Show Gist options
  • Save zhiyouce/1c6bfed9caa0aab9179baf593a53fc4b to your computer and use it in GitHub Desktop.
Save zhiyouce/1c6bfed9caa0aab9179baf593a53fc4b to your computer and use it in GitHub Desktop.
windows PS :IP query
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