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