Some quick and neat functions to access and use Google Map web API's like -
Get-Direction
Get-Distance
Get-GeoCoding
Get-GeoLocation
Get-NearbyPlace
Get-ReverseGeoCoding
Get-TimeZone
Directly Install-Module from the PowerShell Gallery if you've the PowershellGet module.
NOTE : It's a prerequisite to do one-time registration for each Google map API's, before start using the module to make it work. Below are the links -
Get-Direction : https://developers.google.com/maps/documentation/directions/get-api-key
Get-Distance : https://developers.google.com/maps/documentation/distance-matrix/get-api-key
Get-GeoCoding : https://developers.google.com/maps/documentation/geocoding/get-api-key
Get-GeoLocation : https://developers.google.com/maps/documentation/geolocation/get-api-key
Get-NearbyPlace : https://developers.google.com/places/web-service/get-api-key
Get-ReverseGeoCoding : https://developers.google.com/maps/documentation/geocoding/get-api-key
Get-TimeZone : https://developers.google.com/maps/documentation/timezone/get-api-key