Skip to content

Remove JCSystemGroup

Joe Workman edited this page Aug 22, 2024 · 11 revisions

external help file: JumpCloud-help.xml Module Name: JumpCloud online version: https://github.com/TheJumpCloud/support/wiki/Remove-JCSystemGroup schema: 2.0.0

Remove-JCSystemGroup

SYNOPSIS

Removes a JumpCloud System Group

SYNTAX

byName (Default)

Remove-JCSystemGroup [-GroupName] <String> [-force] [<CommonParameters>]

ByID

Remove-JCSystemGroup -GroupID <String> [-force] [<CommonParameters>]

DESCRIPTION

Removes a JumpCloud System Group. By default a warning message will be presented to confirm the operation.

EXAMPLES

Example 1

PS C:\> Remove-JCSystemGroup -GroupName 'On Prem Systems'

Removes the JumpCloud System Group with the name 'On Prem Systems'. A warning message will be presented to confirm the operation.

Example 2

PS C:\> Remove-JCSystemGroup -GroupName 'On Prem Systems' -Force

Removes the JumpCloud System Group with the name 'On Prem Systems' using the -Force Parameter. A warning message will not be presented to confirm the operation.

PARAMETERS

-force

A SwitchParameter which suppresses the warning message when removing a JumpCloud System Group.

Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-GroupID

The _id of the group which you want to remove. GroupID has an Alias of _id. This means you can leverage the PowerShell pipeline to populate this field automatically.

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

-GroupName

The name of the System Group you want to remove.

Type: System.String
Parameter Sets: byName
Aliases: name

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
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.

INPUTS

System.String

OUTPUTS

System.Object

NOTES

RELATED LINKS

Quick Links

Command Reference

Authentication

Import and Backup

RADIUS Reply Attributes

User Functions

Administrator Functions

System Functions

Command Functions

Group Functions

Policy Functions

Event Functions

Clone this wiki locally