Tag Archives: PowerShell Domain Geolocation

PowerShell Function: Get Domain/Hostname Geolocation

Get-Geo PowerShell function will resolve the IP address of a domain and return the country name and country code information:

Add this function to a module or save it as ps1 file and dot source it: