Set-c8yMode
SYNOPSIS​
Set cli mode temporarily
SYNTAX​
Set-c8yMode
[-Mode] <String>
[<CommonParameters>]
DESCRIPTION​
Set the mode to control which commands can be be used. The change will only affect the current console.
EXAMPLES​
EXAMPLE 1​
Set-c8yMode -Mode dev
Enable development mode (all command enabled) temporarily. The active session file will not be updated
PARAMETERS​
-Mode​
Mode
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters​
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.