Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
PowerShell module for IP address tools
# put this in some shared module folder, such as /usr/local/share/powershell/Modules
Function Get-IpCountry {
$country = Invoke-RestMethod -Method GET -Uri$ip/country
return $country
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment