Whenever you are using GLPI for your asset and ticket management it can be very important to use up to date asset information. The GLPI agent and GLPI inventory plugin when used together are a great set of tools to allow for this process to be automated. The only thing that can be a hassle is installing the GLPI agent on your endpoints.
I’ve created an deployment script that might help you or give you inspiration at the very least to complete your GLPI agent rollout. The script is not perfect but it works and allows the usage of nightly builds if you so require.
I made some assumptions on what flags you would want and currently they are not variables in the script so keep that in mind!
2024-10-29: Added check to see what version is installed and a Force flag to overrule it. Also added ForceInventory to force a inventory collection after installation