< Back
Get-GlpiToolsEntities
Post
NAME Get-GlpiToolsEntities
SYNOPSIS
Function returns entities from GLPI
SYNTAX
Get-GlpiToolsEntities [-All] [<CommonParameters>]
Get-GlpiToolsEntities -EntityId <String[]> [-Raw] [<CommonParameters>]
Get-GlpiToolsEntities -EntityName <String> [<CommonParameters>]
DESCRIPTION
Function returns all possible enitites, you can provide id or name to get informations about desired entity
PARAMETERS
-All [<SwitchParameter>]
This parameter will return all Entities from GLPI
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-EntityId <String[]>
This parameter can take pipline input, either, you can use this function with -ComputerId keyword.
Provide to this param Entity ID from GLPI Entities Bookmark
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Raw [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-EntityName <String>
This parameter can take pipline input, either, you can use this function with -ComputerName keyword.
Provide to this param entity Name from GLPI Entities 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
Entity 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 entity from GLPI
NOTES
PSP 01/2019
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-GlpiToolsEntities -All
Command will return all entities from GLPI
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-GlpiToolsEntities -EntityId 3
Command will return entity with Id number 3 from GLPI
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>3 | Get-GlpiToolsEntities
Command will return entity with Id number 3 from GLPI
-------------------------- EXAMPLE 4 --------------------------
PS C:\\>Get-GlpiToolsEntities -EntityName Old
Command will return entity with Name Old from GLPI
RELATED LINKS
SYNOPSIS
Function returns entities from GLPI
SYNTAX
Get-GlpiToolsEntities [-All] [<CommonParameters>]
Get-GlpiToolsEntities -EntityId <String[]> [-Raw] [<CommonParameters>]
Get-GlpiToolsEntities -EntityName <String> [<CommonParameters>]
DESCRIPTION
Function returns all possible enitites, you can provide id or name to get informations about desired entity
PARAMETERS
-All [<SwitchParameter>]
This parameter will return all Entities from GLPI
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-EntityId <String[]>
This parameter can take pipline input, either, you can use this function with -ComputerId keyword.
Provide to this param Entity ID from GLPI Entities Bookmark
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Raw [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-EntityName <String>
This parameter can take pipline input, either, you can use this function with -ComputerName keyword.
Provide to this param entity Name from GLPI Entities 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
Entity 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 entity from GLPI
NOTES
PSP 01/2019
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-GlpiToolsEntities -All
Command will return all entities from GLPI
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-GlpiToolsEntities -EntityId 3
Command will return entity with Id number 3 from GLPI
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>3 | Get-GlpiToolsEntities
Command will return entity with Id number 3 from GLPI
-------------------------- EXAMPLE 4 --------------------------
PS C:\\>Get-GlpiToolsEntities -EntityName Old
Command will return entity with Name Old from GLPI
RELATED LINKS