Get-HpcJobTemplateAcl
Gets the ACL for a job template.
Get-HpcJobTemplateAcl
-Template <HpcJobTemplate>
[-ClusterConnectionString <String[]>]
[-Scheduler <String[]>]
[<CommonParameters>]
Get-HpcJobTemplateAcl
[-Name] <String>
[-ClusterConnectionString <String[]>]
[-Scheduler <String[]>]
[<CommonParameters>]
The Get-HpcJobTemplate cmdlet gets the access control list (ACL) for the specified job template. You can specify the job template by name or as an HpcJobTemplate object. After you get the ACL for the job template, you can apply the ACL to a different job template to copy permissions between templates. You can also change the ACL by using the .NET application programming interfaces (APIs) and then apply the modified ACL to a job template.
PS C:\>Get-HpcJobTemplateAcl -Name "Default"
This command gets the ACL for the default job template.
PS C:\>Get-HpcJobTemplate -Name "MyTemplate" | Get-HpcJobTemplateAcl
This command gets the HpcJobTemplate object for a job template called MyTemplate, and then gets the ACL for that job template by redirecting the object to the Get-HpcJobTemplateAcl cmdlet.
Specifies an array of cluster connection strings for the cluster to which you want to add the device drivers.
The value format is host1,host2,host3.
If you do not specify the ClusterConnectionString parameter, this cmdlet uses the connection string on the head node that the CCP_CONNECTIONSTRING environment variable specifies.
To set this environment variable, run the following cmdlet: Set-Content Env: CCP_CONNECTIONSTRING \<head_node_name\>
.
This parameter was introduced in HPC Pack 2016.
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the name of the job template for which you want to get the ACL. The maximum length of the name is 50 characters. You cannot specify both the Name and Template parameters.
Type: | String |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the host name or IP address of the head node for the cluster that includes the job templates. The value must be a valid computer name or IP address. If you do not specify the Scheduler parameter, this cmdlet uses the scheduler on the head node that the CCP_SCHEDULER environment variable specifies. To set this environment variable, run the following cmdlet:
Set-Content Env:CCP_SCHEDULER \<head_node_name\>
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the HpcJobTemplate object for the job template for which you want to get the ACL. You cannot specify both the Name and Template parameters. Use the Get-HpcJobTemplate cmdlet to get an HpcJobTemplate object for the job template.
Type: | HpcJobTemplate |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
HpcJobTemplate
HpcJobTemplateSecurityDescriptor
- You must be a cluster administrator to run this cmdlet successfully.