< Back

Set-GlpiToolsConfig

Mon Jan 13, 2020 10:18 pm

NAME Set-GlpiToolsConfig



SYNOPSIS

Set GLPI Configuration File.





SYNTAX

Set-GlpiToolsConfig [-AppToken] <String> [-UserToken] <String> [-PathToGlpi] <String> [<CommonParameters>]





DESCRIPTION

This function preparing config file for GLPI API.





PARAMETERS

-AppToken <String>

Application Token, you can find Token in API Settings at your GLPI website.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-UserToken <String>

User Token, you can find inside user account settings.



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-PathToGlpi <String>

Path To GLPI, you can find the path in API Settings at your GLPI website.



Required? true

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None, you cannot pipe objects to Set-GlpiToolsConfig





OUTPUTS

None





NOTES





PSP 12/2018



-------------------------- EXAMPLE 1 --------------------------



PS C:\\Users\\Wojtek>Set-GlpiToolsConfig -AppToken 'dsahu2uh2uh32gt43tf434t' -UserToken 'sdasg3123hg3t1ftf21t3'

-PathToGlpi 'http://pathtoglpi/glpi'



This example show how to set GLPI config file











RELATED LINKS