Get-HpcJobCredential

Gets the credentials for submitting jobs.

Syntax

Get-HpcJobCredential
   [-ClusterConnectionString <String[]>]
   [-Scheduler <String[]>]
   [<CommonParameters>]

Description

The Get-HpcJobCredential cmdlet gets the certificate credentials for submitting jobs. This cmdlet returns a list of HPC soft card certificates with their thumbprints and the dates for which they are valid. For most users, this list will have only one entry. If none exist, nothing is returned.

Examples

Example 1: Get all certificates for the job scheduler

PS C:\>$List = Get-HpcJobCredential -Scheduler "MyHeadNode"

This command gets a list of all certificates that are currently being used by the HPC scheduler.

Optional Parameters

-ClusterConnectionString

Set-Content Env:CCP_SCHEDULER \<head_node_name\>

Type:String[]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Scheduler

Specifies the host name or IP address of the head node that contains the credentials. 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
Accept pipeline input:False
Accept wildcard characters:False

Notes

  • This cmdlet was introduced in HPC Pack 2008 R2 with Service Pack 2 (SP2). It is not supported in previous versions.