This Powershell module makes easy the manipulation of the GLPI database thru the Rest API of GLPI. Search, add, modify, delete items has never be so easy. Native object and plugin objects are available.
Use the module integrated help to see how it works.
Enjoy! :-)
- Rest API needs to be enabled in GLPI (GLPI Setup -> General -> API).
- An APP token (GLPI Setup -> General -> API -> API Client)
- username-password or a API token (See GLPI user management)
Donwload the module. Follow Microsoft directions : https://docs.microsoft.com/en-us/powershell/developer/module/installing-a-powershell-module
Use this to generate your Basic token in case you don't want to use the API token associated with your GLPI account.
Get-GlpiBase64Login -login mysusername -password MySuperComplicatedPassw0rd bXlzdXNlcm5hbWU6TXlTdXBlckNvbXBsaWNhdGVkUGFzc3cwcmQ=
Update in progress...