< Back

Get-GlpiToolsProfiles

Mon Jan 13, 2020 10:10 pm

NAME Get-GlpiToolsProfiles



SYNOPSIS

Function is getting Profile informations from GLPI





SYNTAX

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



Get-GlpiToolsProfiles -ProfileId <String[]> [-Raw] [<CommonParameters>]



Get-GlpiToolsProfiles -ProfileName <String> [<CommonParameters>]





DESCRIPTION

Function is based on ProfileID which you can find in GLPI website

Returns object with property's of Profile





PARAMETERS

-All [<SwitchParameter>]

This parameter will return all Profiles from GLPI



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-ProfileId <String[]>

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

Provide to this param Profile ID from GLPI Profile Bookmark



Required? true

Position? named

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-Raw [<SwitchParameter>]

Parameter which you can use with ProfileId Parameter.

ProfileId has converted parameters from default, parameter Raw allows not convert this parameters.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-ProfileName <String>

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

Provide to this param Profile Name from GLPI Profiles 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

Profile 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 Profiles from GLPI





NOTES





PSP 04/2019



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



PS C:\\>Get-GlpiToolsProfiles -All



Example will show all profiles.









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



PS C:\\>Get-GlpiToolsProfiles -ProfileName Admin



Example will return every profile which contains Admin keyword











RELATED LINKS