Get JCPolicyGroupMember - TheJumpCloud/support GitHub Wiki
This function will return the policies that are members of the specified policy group.
Get-JCPolicyGroupMember -PolicyGroupID <String> [<CommonParameters>]
Get-JCPolicyGroupMember -Name <String> [<CommonParameters>]
Get-JCPolicyGroupMember will return policies which are members of the specified policy group.
PS C:\> Get-JCPolicyGroupMember -PolicyGroupID 66c3a774294f1e9071f080c9
This will return all policies that are members of the policy group with id: '66c3a774294f1e9071f080c9'
PS C:\> Get-JCPolicyGroupMember -Name "PolicyGroupName"
This will return all policies that are members of the policy group with name: 'PolicyGroupName'
The Name of the JumpCloud policy group to query and return members of
Type: System.String
Parameter Sets: ByName
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The ID of the JumpCloud policy group to query and return members of
Type: System.String
Parameter Sets: ById
Aliases: _id, id
Required: True
Position: Named
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.