PowerShell Script – Get-ComputerGeolocation
28-OCT-2013 Update: I have updated the script to retry when the status of the location provider is in initializing mode. The below script uses the Windows Location provider and the Google Geocoding API to retrieve the geographical location of the Read More …