< Back

Get-GlpiToolsDropdownsSoftwareCategory

Mon Jan 13, 2020 9:54 pm

NAME Get-GlpiToolsDropdownsSoftwareCategory



SYNOPSIS

Function is getting Software Category's informations from GLPI





SYNTAX

Get-GlpiToolsDropdownsSoftwareCategory [-All] [<CommonParameters>]



Get-GlpiToolsDropdownsSoftwareCategory -SoftwareCategoryId <String[]> [<CommonParameters>]



Get-GlpiToolsDropdownsSoftwareCategory -SoftwareCategoryName <String> [<CommonParameters>]





DESCRIPTION

Function is based on SoftwareCategoryId which you can find on GLPI website

Returns object with property's of Software Category's





PARAMETERS

-All [<SwitchParameter>]

This parameter will return all Software Category's from GLPI



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-SoftwareCategoryId <String[]>

This parameter can take pipline input, either, you can use this function with -SoftwareCategoryId keyword.

Provide to this param Software Category ID from GLPI Software Category Bookmark



Required? true

Position? named

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-SoftwareCategoryName <String>

You can use this function with -SoftwareCategoryName keyword.

Provide to this param Software Category Name from GLPI Software Category Bookmark



Required? true

Position? named

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

Software Category's ID which you can find in GLPI, or use this Function to convert ID returned from other Functions





OUTPUTS

Function returns PSCustomObject with property's of Software Category's from GLPI





NOTES





PSP 04/2019



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



PS C:\\Users\\Wojtek>326 | Get-GlpiToolsDropdownsSoftwareCategory



Function gets SoftwareCategoryId from GLPI from Pipline, and return Update Sources object









-------------------------- EXAMPLE 2 --------------------------



PS C:\\Users\\Wojtek>326, 321 | Get-GlpiToolsDropdownsSoftwareCategory



Function gets SoftwareCategoryId from GLPI from Pipline (u can pass many ID's like that), and return Software

Category object









-------------------------- EXAMPLE 3 --------------------------



PS C:\\Users\\Wojtek>Get-GlpiToolsDropdownsSoftwareCategory -SoftwareCategoryId 326



Function gets SoftwareCategoryId from GLPI which is provided through -SoftwareCategoryId after Function type, and

return Software Category object









-------------------------- EXAMPLE 4 --------------------------



PS C:\\Users\\Wojtek>Get-GlpiToolsDropdownsSoftwareCategory -SoftwareCategoryId 326, 321



Function gets SoftwareCategoryId from GLPI which is provided through -SoftwareCategoryId keyword after Function

type (u can provide many ID's like that), and return Software Category object











RELATED LINKS