Get JCUserGroupMember - TheJumpCloud/support GitHub Wiki
external help file: JumpCloud-help.xml Module Name: JumpCloud online version: https://github.com/TheJumpCloud/support/wiki/Get-JCUserGroupMember schema: 2.0.0
Returns the User Group members of a JumpCloud User Group.
Get-JCUserGroupMember [-GroupName] <String> [<CommonParameters>]
Get-JCUserGroupMember -ByID <String> [<CommonParameters>]
The Get-JCUserGroupMember function returns all the User Group members of a JumpCloud User Group.
PS C:\> Get-JCUserGroupMember -GroupName 'The Band'
Returns the JumpCloud users that are a member of the group 'The Band'
PS C:\> Get-JCGroup -Type User | Get-JCUserGroupMember
Returns all the JumpCloud User Groups and their members.
PS C:\> Get-JCGroup -Type User | Get-JCUserGroupMember | Where-Object Username -EQ 'cclemons'
Returns all the JumpCloud User Groups that the JumpCloud user with a username of 'cclemons' is a member of.
If searching for a User Group using the GroupID populate the GroupID in the -ByID field.
Type: System.String
Parameter Sets: ByID
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
The name of the JumpCloud User Group you want to return the members of.
Type: System.String
Parameter Sets: ByGroup
Aliases: name
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
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.