wpietrzakpl / GlpiTools

PowerShell Module to work with Glpi API
15 stars 8 forks source link

Do you have a manual for install ? #4

Closed jfg closed 5 years ago

jfg commented 5 years ago

Hi !

I want to try your code but don't know how to use it.

Thanks.

wpietrzakpl commented 5 years ago

Hi, Module isnt finish, so thats why i didnt create manual for it Im still working but in my opinion Im on more than a half of work :)

First you have to enable API in GLPI Second, get the module, copy it into where you store modules, and import it using a command install-module GlpiTools Third, use command Set-GlpiToolsConfig with values of parameters which i mentioned below

If you want to use it, you have to get

  1. AppToken - which you can find in glpi - general/API/fullaccesfromlocalhost/Application token (app_token)
  2. UserToken - which you can find in adminstrations/users/{user}/remote access keys/API token
  3. PathToGlpi - is a URL - you can find it here - Setup/General/API/URL of the API
jfg commented 5 years ago

Hi !

Thanks for your answer.

I will follow your update. And hope you can do an installation and setup procedure with the prerequisites.

Thank you.

wpietrzakpl commented 5 years ago

I added setup procedure

jfg commented 5 years ago

Thanks you !