Get-HpcJobCredential
Gets the credentials for submitting jobs.
Get-HpcJobCredential
[-ClusterConnectionString <String[]>]
[-Scheduler <String[]>]
[<CommonParameters>]
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.
PS C:\>$List = Get-HpcJobCredential -Scheduler "MyHeadNode"
This command gets a list of all certificates that are currently being used by the HPC scheduler.
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 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 |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
- This cmdlet was introduced in HPC Pack 2008 R2 with Service Pack 2 (SP2). It is not supported in previous versions.