< Back

Remove-JCUserGroup

Thu Jan 16, 2020 9:15 am

NAME Remove-JCUserGroup



SYNOPSIS

Removes a JumpCloud User Group





SYNTAX

Remove-JCUserGroup [-GroupName] <System.String> [-force] [<CommonParameters>]





DESCRIPTION

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





PARAMETERS

-GroupName <System.String>

The name of the User Group you want to remove.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-force <System.Management.Automation.SwitchParameter>

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



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

System.String







OUTPUTS

System.Object







NOTES









-------------------------- Example 1 --------------------------



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.

-------------------------- Example 2 --------------------------



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.



RELATED LINKS

Online Version: https://github.com/TheJumpCloud/support ... CUserGroup