< Back

Get-GlpiToolsAppsStructuresComponent

Mon Jan 13, 2020 9:06 pm

NAME Get-GlpiToolsAppsStructuresComponent



SYNOPSIS

Function to show Apps Structures Components from GLPI





SYNTAX

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



Get-GlpiToolsAppsStructuresComponent -AppsStructureId <Int32[]> [-Raw] [<CommonParameters>]





DESCRIPTION

Function to show Apps Structures Components from GLPI. Function will show all Components from Apps Structures.





PARAMETERS

-All [<SwitchParameter>]

Switch parameter, if you will choose, you will get All available Apps Component.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-AppsStructureId <Int32[]>

Int parameter, you can provide here number of Apps Structure. It is ID which you can find in GLPI or with

parameter -All.

Can take pipeline input.



Required? true

Position? named

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-Raw [<SwitchParameter>]

Switch parameter. In default output has converted id to humanreadable format, that parameter can disable it

and return raw object with id's.



Required? false

Position? named

Default value False

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

Inputs (if any)





OUTPUTS

Function returns PSCustomObject





NOTES





PSP 05/2019



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



PS C:\\>GlpiToolsAppsStructuresComponent -All



Example will show All Apps Structures Items









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



PS C:\\>Get-GlpiToolsAppsStructuresComponent -AppsStructureId 2



Example will show Apps Structure Item which id is 2. Object will have converted values.









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



PS C:\\>Get-GlpiToolsAppsStructuresComponent -AppsStructureId 2 -Raw



Example will show Apps Structure Item which id is 2. Object will not have converted values.









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



PS C:\\>2 | Get-GlpiToolsAppsStructuresComponent



Example will show Apps Structure Item which id is 2. Object will have converted values.









-------------------------- EXAMPLE 5 --------------------------



PS C:\\>2 | Get-GlpiToolsAppsStructuresComponent -Raw



Example will show Apps Structure Item which id is 2. Object will not have converted values.











RELATED LINKS