Remove JCPolicy - TheJumpCloud/support GitHub Wiki
external help file: JumpCloud-help.xml Module Name: JumpCloud online version: https://github.com/TheJumpCloud/support/wiki/ schema: 2.0.0
Removes a JumpCloud Policy
Remove-JCPolicy [-PolicyID] <String> [-force] [<CommonParameters>]
Remove-JCPolicy [-Name <String>] [-force] [<CommonParameters>]
The Remove-JCPolicy function will remove a JumpCloud Policy from the JumpCloud organization.
PS C:\> Remove-JCPolicy -Name "Allow The Use of Biometrics"
This will remove the JumpCloud Policy with the name Allow The Use of Biometrics
PS C:\> Remove-JCPolicy -PolicyID "645bea14b069dd0001bbe232"
This will remove the JumpCloud Policy by its corresponding ID
A SwitchParameter which suppresses the warning message when removing a JumpCloud Policy.
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 Name of the JumpCloud policy you wish to remove.
Type: System.String
Parameter Sets: Name
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
The PolicyID of the JumpCloud policy you wish to remove.
Type: System.String
Parameter Sets: ByID
Aliases: _id, id
Required: True
Position: 0
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.