Remove JCUserGroup - TheJumpCloud/support GitHub Wiki
Removes a JumpCloud User Group
Remove-JCUserGroup [-GroupName] <String> [<CommonParameters>]
Remove-JCUserGroup [-GroupName] <String> [-force] [<CommonParameters>]
Removes a JumpCloud User Group. By default a warning message will be presented to confirm the operation.
PS C:\> Remove-JCUserGroup -GroupName 'The Band'
Removes the JumpCloud User Group with the name 'The Band'. A warning message will be presented to confirm the operation.
PS C:\> Remove-JCUserGroup -GroupName 'The Band' -Force
Removes the JumpCloud User Group with the name 'The Band' using the -Force Parameter. A warning message will not be presented to confirm the operation.
A SwitchParameter which suppresses the warning message when removing a JumpCloud User Group.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: force
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The name of the User Group you want to remove.
Type: System.String
Parameter Sets: (All)
Aliases: name
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.