Remove JCPolicyGroupTemplate - TheJumpCloud/support GitHub Wiki
Deletes a Policy Group Template
Remove-JCPolicyGroupTemplate -Name <String> [-Force] [<CommonParameters>]
Remove-JCPolicyGroupTemplate -GroupTemplateID <String> [-Force]
[<CommonParameters>]
Remove-JCPolicyGroupTemplate deletes policy group templates defined in an MTP organization. Policy Group Templates are defined on the MTP level for all organizations to access.
PS C:\> Remove-JCPolicyGroupTemplate -GroupTemplateID "64022e24f7763b2295302342"
Removes the Policy Group Template with id: 64022e24f7763b2295302342
PS C:\> Remove-JCPolicyGroupTemplate -name "PolicyGroupName"
Removes the Policy Group Template with name: PolicyGroupName
A SwitchParameter which suppresses the warning message when removing a JumpCloud policy group template.
Type: System.Management.Automation.SwitchParameter
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 template you wish to remove.
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
The Name of the JumpCloud policy group template you wish to remove.
Type: System.String
Parameter Sets: ByName
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
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.