Get JCPolicyGroupTemplate - TheJumpCloud/support GitHub Wiki
Returns the policy group templates for an MTP organization
Get-JCPolicyGroupTemplate [<CommonParameters>]
Get-JCPolicyGroupTemplate -Name <String> [<CommonParameters>]
Get-JCPolicyGroupTemplate -GroupTemplateID <String> [<CommonParameters>]
Get-JCPolicyGroupTemplate requires an administrator be connected to an MTP organization. Policy Group Templates are defined on the MTP level for all organizations to access.
PS C:\> Get-JCPolicyGroupTemplate
Returns all available Policy Group Templates in the MTP Organization
PS C:\> Get-JCPolicyGroupTemplate -Name "PolicyGroupTemplateName"
Gets the policy group template with name: PolicyGroupTemplateName
PS C:\> Get-JCPolicyGroupTemplate -GroupTemplateID 6733de990662210001e76bcc
Gets the policy group template with id: 6733de990662210001e76bcc
Use the -GroupTemplateID parameter when you want to query a specific group template.
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 you wish to query. This value is case sensitive
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.