Geo-locate agent (to custom field)
Want to know where in the world your endpoints are located? This script will grab a geolocation (based on the endpoints IP) and store it in a custom field in Kaseya for easy reporting.
This won’t give an exact location, but it will put your endpoints in the neighborhood so you can see if the endpoint is local or possibly across the world.
How it works:
Makes a query to https://geolocation-db.com/ using powershell and reports to the procedure log. Also write to custom field CF-GeoLocation, which must be set up before importing this script.