Get JCPolicyGroupTemplateMember - TheJumpCloud/support GitHub Wiki
Retrieves a Policy Group Template's Members
Get-JCPolicyGroupTemplateMember -GroupTemplateID <String>
[<CommonParameters>]
Get-JCPolicyGroupTemplateMember -Name <String> [<CommonParameters>]
Get-JCPolicyGroupTemplateMember returns members of the policy group template in an MTP organization. Policy Group Templates are defined on the MTP level for all organizations to access.
PS C:\> Get-JCPolicyGroupTemplateMember -GroupTemplateID 670e935fbf700a0001990e7d
Retrieves a Policy Group Template with id: 670e935fbf700a0001990e7d policy members
PS C:\> Get-JCPolicyGroupTemplateMember -Name "GroupTemplateName"
Retrieves a Policy Group Template with name: GroupTemplateName policy members
Use the -GroupTemplateID parameter when you want to query a specific group template members.
Type: System.String
Parameter Sets: ById
Aliases: _id, id
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The name of the JumpCloud policy group template 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
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.