Get JCGroup - TheJumpCloud/support GitHub Wiki
external help file: JumpCloud-help.xml Module Name: JumpCloud online version: https://github.com/TheJumpCloud/support/wiki/Get-JCGroup schema: 2.0.0
Returns all JumpCloud System and User Groups.
Get-JCGroup [-Name <String>] [<CommonParameters>]
Get-JCGroup [[-Type] <String>] [-Name <String>] [<CommonParameters>]
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.
PS C:\> Get-JCGroup
Returns all JumpCloud User and System groups
PS C:\> Get-JCGroup -Type User
Returns all JumpCloud User groups
PS C:\> Get-JCGroup -Type System
Returns all JumpCloud System groups
PS C:\> Get-JCGroup -Type User -Name 'The Band'
Returns the JumpCloud user group 'The Band' and the posixGroups information descripting this group
Enter the group name
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
The type of JumpCloud group you want to return. Note there are only two options - User and System.
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
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.