Get-IPGeolocation.ps1
Get-IPGeolocation.ps1 copied to clipboard
PowerShell script to perform a REST API query to get IP address geo-location information
Get-IPGeolocation.ps1
PowerShell script to perform a REST API query to get IP address geo-location information
Parameters
- -IP Specifies the IP address to lookup.
Examples
.\Get-IPGeolocation.ps1 -IP 8.8.8.8
Credits
Written by: Paul Cunningham
Find me on:
- My Blog: https://paulcunningham.me
- Twitter: https://twitter.com/paulcunningham
- LinkedIn: https://au.linkedin.com/in/cunninghamp/
- Github: https://github.com/cunninghamp
Freegeoip.net is a public HTTP API for geolocation data. They permit up to 10,000 queries per hour by default.
Go to http://freegeoip.net to find out more.
Change Log V1.00, 13/03/2015 - Initial version