Skip to content

Get JCGroup

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/Get-JCGroup schema: 2.0.0

Get-JCGroup

SYNOPSIS

Returns all JumpCloud System and User Groups.

SYNTAX

ReturnAll (Default)

Get-JCGroup [-Name <String>] [<CommonParameters>]

Type

Get-JCGroup [[-Type] <String>] [-Name <String>] [<CommonParameters>]

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

PS C:\> Get-JCGroup

Returns all JumpCloud User and System groups

Example 2

PS C:\> Get-JCGroup -Type User

Returns all JumpCloud User groups

Example 3

PS C:\> Get-JCGroup -Type System

Returns all JumpCloud System groups

Example 4

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

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.

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.

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