Export (0) Print
Expand All

Get-HpcJobTemplateAcl

Updated: January 10, 2014

Get-HpcJobTemplateAcl

Gets the access control list (ACL) for the specified job template.

Syntax

Parameter Set: profile
Get-HpcJobTemplateAcl -Template <HpcJobTemplate> [-Scheduler <String> ] [ <CommonParameters>]

Parameter Set: name
Get-HpcJobTemplateAcl [-Name] <String> [-Scheduler <String> ] [ <CommonParameters>]




Detailed Description

Gets the 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.

Parameters

-Name<String>

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.


Aliases

none

Required?

true

Position?

1

Default Value

no default

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Scheduler<String>

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>


Aliases

none

Required?

false

Position?

named

Default Value

%CCP_SCHEDULER%

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Template<HpcJobTemplate>

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-HpbJobTemplate cmdlet to get an HpcJobTemplate object for the job template.


Aliases

none

Required?

true

Position?

named

Default Value

no default

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • An HpcJobTemplate object.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • An HpcJobTemplateSecurityDescriptor object.

Notes

  • You must be a cluster administrator to run this cmdlet successfully.

Examples

EXAMPLE 1

Gets the ACL for the default job template.


PS C:\>Get-HpcJobTemplateAcl -name "Default"

EXAMPLE 2

Gets the HpcJobTemplate object for a job template called MyTemplate, then gets the ACL for that job template by redirecting the object to the Get-HpcJobTemplateAcl cmdlet.


PS C:\>Get-HpcJobTemplate -Name MyTemplate | Get-HpcJobTemplateAcl

Related topics

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft