Get-HpcTest

Get-HpcTest

Gets diagnostic tests for the HPC cluster.

Syntax

Parameter Set: Default
Get-HpcTest [[-Alias] <String[]> ] [-ClusterConnectionString <String[]> ] [-Scheduler <String[]> ] [ <CommonParameters>]




Detailed Description

The Get-HpcTest cmdlet gets one or more specified diagnostic tests, or gets all of the diagnostic tests for the HPC cluster if you do not specify any tests. You can specify diagnostic tests by their aliases.

Parameters

-Alias<String[]>

Specifies an array of aliases for the diagnostic tests that you want to get.

This parameter replaces the Name parameter that this cmdlet had in HPC Pack 2008.


Aliases

Name

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ClusterConnectionString<String[]>

Specifies an array of cluster connection strings for the cluster to which you want to add the device drivers. The value format is host1,host2,host3. If you do not specify the ClusterConnectionString parameter, this cmdlet uses the connection string on the head node that the CCP_CONNECTIONSTRING environment variable specifies. To set this environment variable, run the following cmdlet: Set-Content Env: CCP_CONNECTIONSTRING <head_node_name>.

This parameter was introduced in HPC Pack 2016.


Aliases

none

Required?

false

Position?

named

Default Value

none

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 diagnostic tests. 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

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

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

Inputs

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

  • None

Outputs

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

  • HpcTestCase[]

Notes

  • This cmdlet gets information about or HpcTestCase objects for the diagnostic tests that you can run. To get the result of a diagnostic test run, use the Get-HpcTestResult cmdlet.

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

Examples

Example 1: Get all diagnostic tests

This command gets all of the diagnostic tests for the HPC cluster.


PS C:\> Get-HpcTest

Example 2: Get diagnostic tests by alias

This command gets the ping and DNS tests.


PS C:\> Get-HpcTest -Alias "ping,dnstest"

Example 3: Get filtered diagnostic tests

This command gets all of the diagnostic tests that have aliases that begin with the letters "svc."


PS C:\> Get-HpcTest -Alias "svc*"

Related topics

Community Additions

ADD
Show: