共用方式為


hpccred getcreds

 

Applies To: Microsoft HPC Pack 2012, Microsoft HPC Pack 2012 R2

Gets the soft card credential for a specified user that the HPC Job Scheduler Service uses to submit jobs.

Note

This subcommand was introduced in HPC Pack 2008 R2 with Service Pack 2 (SP2).

For examples of how to use this command, see Examples.

Syntax

hpccred getcreds [/scheduler:<name>]

hpccred getcreds {/? | /help}

Parameters

Parameter

Description

/scheduler:<name>

Specifies the host name or IP address of the head node for the cluster for which you want to get the credentials that are used for job submission. The value must be a valid computer name or IP address. If you do not specify the /scheduler parameter, this command uses the scheduler on the head node that the CCP_SCHEDULER environment variable specifies.

/?

Displays Help at the command prompt.

/help

Displays Help at the command prompt.

Examples

To get the credentials for the cluster, use the following command:

hpccred getcreds

Additional references