Get-HpcTest
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.
Syntax
Get-HpcTest [-Name <string[]>] [-Scheduler <string>] [<CommonParameters>]
Detailed Description
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 name.
Parameters
-Name <string[]>
Specifies a list of one or more names of the diagnostic tests that you want to get. To specify names that include spaces, enclose the name in double quotation marks (").
|
Required? |
false |
|
Position? |
named |
|
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 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>
|
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 HpcTestCase objects. |
Notes
This cmdlet gets information about of HpcTestCase objects for the diagnostic tests that you can run. To get the result of running a diagnostic test, use the Get-HpcTestResult cmdlet.
Example 1
C:\PS>Get-HpcTest
Gets all of the diagnostic tests for the HPC cluster.
Example 2
C:\PS>Get-HpcTest -Name "Domain Connectivity","Internode Connectivity"
Gets the diagnostic tests named Domain Connectivity and Internode Connectivity.