< Back

Set-GlpiToolsChangeActiveProfile

Mon Jan 13, 2020 10:18 pm

NAME Set-GlpiToolsChangeActiveProfile



SYNOPSIS

Function Change active profile to the profiles_id one.





SYNTAX

Set-GlpiToolsChangeActiveProfile -ProfilesId <Int32> [<CommonParameters>]





DESCRIPTION

Function Change active profile to the profiles_id one. See Get-GlpiToolsMyProfiles function for possible profiles.





PARAMETERS

-ProfilesId <Int32>

Parameter which indicate on profile that you will change on. Provide here an id of this profile.



Required? true

Position? named

Default value 0

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

Integer value





OUTPUTS

None, or Error if you provide id that not exist.





NOTES





PSP 04/2019



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



PS C:\\>Set-GlpiToolsChangeActiveProfile -ProfileId 4



Example will change active profile on profile with id number 4.









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



PS C:\\>4 | Set-GlpiToolsChangeActiveProfile



Example will change active profile on profile with id number 4.











RELATED LINKS