< Back

Get-GlpiToolsListSearchOptions

Mon Jan 13, 2020 10:06 pm

NAME Get-GlpiToolsListSearchOptions



SYNOPSIS

Function gets list of Search Options for specific Search in GLPI





SYNTAX

Get-GlpiToolsListSearchOptions [-ListOptionsFor] <String> [<CommonParameters>]





DESCRIPTION

Function gets list of Search Options for specific Search in GLPI

Parameters are the names of options in GLPI

Remember that, names used in cmdlet coming from glpi URL, and can be hard to understand, but most of them are

intuitional.

To get name you always have to look at the URL in GLPI, for example "http://glpi/front/computer.php" where

"computer" is the name to use in parameter.





PARAMETERS

-ListOptionsFor <String>

You can use this function with -ListOptionsFor parameter.

Using TAB button you can choose desired option.

You can add your custom parameter options to Parameters.json file located in Private folder



Required? true

Position? 1

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





OUTPUTS

Function returns PSCustomObject with property's of List Options from GLPI





NOTES





PSP 03/2019



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



PS C:\\WINDOWS\\system32>Get-GlpiToolsListSearchOptions -ListOptionsFor DeviceCase



Example will return object which is list of Search Option for Setup -> Components Tab from GLPI











RELATED LINKS