< Back

Get-GlpiToolsAppsStructuresComponentState

Mon Jan 13, 2020 9:08 pm

NAME Get-GlpiToolsAppsStructuresComponentState



SYNOPSIS

Function to show Apps Structures States from GLPI





SYNTAX

Get-GlpiToolsAppsStructuresComponentState -All [<CommonParameters>]



Get-GlpiToolsAppsStructuresComponentState [-AppsStructureComponentStateId <Int32[]>] [<CommonParameters>]





DESCRIPTION

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





PARAMETERS

-All [<SwitchParameter>]

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



Required? true

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-AppsStructureComponentStateId <Int32[]>

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

with parameter -All.

Can take pipeline input.



Required? false

Position? named

Default value

Accept pipeline input? true (ByValue)

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:\\>Get-GlpiToolsAppsStructuresComponentState -All



Example will show All Apps Structures States









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



PS C:\\>Get-GlpiToolsAppsStructuresComponentState -AppsStructureComponentStateId 2



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









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



PS C:\\>Get-GlpiToolsAppsStructuresComponentState -AppsStructureComponentStateId 2 -Raw



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









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



PS C:\\>2 | Get-GlpiToolsAppsStructuresComponentState



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









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



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



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











RELATED LINKS