Geocoding with PowerShell and Google Geocoding API V2

This function uses the Google Maps Geocoding API Version 2. It accepts objects with address, city, state and zip parameters. It then uses that information to find the longitude and latitude of the location and adds additional properties to the object. I use it with Import-CSV and Export-CSV to add information to a spreadsheet.