Export (0) Print
Expand All

Get-HpcNodeTemplate

Gets one or more specified node templates, or gets all of the node templates for an HPC cluster.

Syntax

Get-HpcNodeTemplate [-Scheduler <string>] [[-Name] <string[]>] [<CommonParameters>]

Detailed Description

Gets one or more specified node templates, or gets all of the node templates for an HPC cluster. You can specify the node templates by name. If you do not specify any node templates, the Get-HpcNodeTemplate cmdlets gets all of the node templates for the specified HPC cluster.

Parameters

-Name <string[]>

Specifies a list of the names of the node templates that you want to get.

 

Required?

false

Position?

1

Default Value

no default

Accept Pipeline Input?

false

Accept Wildcard Characters?

true

-Scheduler <string>

Specifies the host name or IP address of the head node for the cluster that includes the node 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>

 

Required?

false

Position?

named

Default Value

%CCP_SCHEDULER%

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

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

Input and Return Types

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

 

Input Type

None.

Return Type

One or more HpcNodeTemplate objects.

Example 1

C:\PS>Get-HpcNodeTemplate -Scheduler MyHeadNode

Gets all of the node templates for the HPC cluster with a head node named MyHeadNode.

Example 2

C:\PS>Get-HpcNodeTemplate -Name MyNodeTemplate

Gets the node template named MyNodeTemplate.

Example 3

C:\PS>Get-HpcNodeTemplate -Name NodeTemplate1,NodeTemplate2

Gets the node templates named NodeTemplate1 and NodeTemplate2.

See Also

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft