Set JCPolicyGroup - TheJumpCloud/support GitHub Wiki
This endpoint allows you to do a full update of the Policy Group.
Set-JCPolicyGroup -Name <String> [-NewName <String>] [-Description <String>]
[<CommonParameters>]
Set-JCPolicyGroup -PolicyGroupID <String> [-NewName <String>] [-Description <String>]
[<CommonParameters>]
Set-JCPolicyGroup sets a policy group's description and "newName"
PS C:\> Set-JCPolicyGroup -Name "Policy Group Name" -NewName "New Policy Group"
Sets the policy group with name: "Policy Group Name" to: "New Policy Group"
PS C:\> Set-JCPolicyGroup -PolicyGroupID "671aa7190133c4000119e158" -NewName "New Policy Group"
Sets the policy group with id: "671aa7190133c4000119e158" to: "New Policy Group"
PS C:\> Set-JCPolicyGroup -PolicyGroupID "671aa7190133c4000119e158" -Description "A group of Windows policies"
Sets the policy group with id: "671aa7190133c4000119e158" and it's description to: "A group of Windows policies"
The Description of the JumpCloud policy group you wish to set.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
The Name of the JumpCloud policy group you wish to set.
Type: System.String
Parameter Sets: ByName
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
The new name to set on the existing JumpCloud policy group. If left unspecified, the cmdlet will not rename the existing policy group.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The Id of the JumpCloud policy group you wish to set.
Type: System.String
Parameter Sets: ByID
Aliases: _id, id
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.