--- external help file: JumpCloud-help.xml Module Name: JumpCloud online version: https://github.com/TheJumpCloud/support/wiki/Get-JCGroup schema: 2.0.0 --- # Get-JCGroup ## SYNOPSIS Returns all JumpCloud System and User Groups. ## SYNTAX ### ReturnAll (Default) ``` Get-JCGroup [-Name ] [] ``` ### Type ``` Get-JCGroup [[-Type] ] [-Name ] [] ``` ## DESCRIPTION The Get-JCGroup function by default will return all JumpCloud System and User groups. By using the -Type Parameter you can choose to return either System or User groups. ## EXAMPLES ### Example 1 ```powershell PS C:\> Get-JCGroup ``` Returns all JumpCloud User and System groups ### Example 2 ```powershell PS C:\> Get-JCGroup -Type User ``` Returns all JumpCloud User groups ### Example 3 ```powershell PS C:\> Get-JCGroup -Type System ``` Returns all JumpCloud System groups ### Example 4 ```powershell PS C:\> Get-JCGroup -Type User -Name 'The Band' ``` Returns the JumpCloud user group 'The Band' and the posixGroups information descripting this group ## PARAMETERS ### -Name Enter the group name ```yaml Type: System.String Parameter Sets: (All) Aliases: Required: False Position: Named Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ### -Type The type of JumpCloud group you want to return. Note there are only two options - User and System. ```yaml Type: System.String Parameter Sets: Type Aliases: Accepted values: User, System Required: False Position: 0 Default value: None Accept pipeline input: False 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](http://go.microsoft.com/fwlink/?LinkID=113216). ## INPUTS ### System.String ## OUTPUTS ### System.Object ## NOTES ## RELATED LINKS