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:



Leave a Reply

Your email address will not be published. Required fields are marked *