Get-HpcTestDetail
Syntax
![]() |
|
---|---|
Parameter Set: TestName Get-HpcTestDetail [-Alias] <String> [[-Company] <String> ] [-Scheduler <String> ] [ <CommonParameters>] Parameter Set: TestObject Get-HpcTestDetail -Test <HpcTestCase> [-Scheduler <String> ] [ <CommonParameters>] |
Detailed Description
Gets detailed information about a specified diagnostic test, including the metadata, parameters, environment variables, and commands for the test. You can specify the diagnostic test by using the alias for the test or by using an HpcTestCase object for the test. To get an HpcTestCase object for a test, use the Get-HpcTest cmdlet.
Parameters
-Alias<String>
Specifies the alias of the diagnostic test for which you want to get detailed information. You cannot specify both the Alias and Test parameters. To view a list of the diagnostic tests that are available on the HPC cluster, use the Get-HpcTest cmdlet.
Aliases |
Id |
Required? |
true |
Position? |
1 |
Default Value |
no default |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-Company<String>
Specifies the company that created the diagnostic test for which you want to view detailed information. If you specify the Company parameter, you must also specify the Alias parameter. Specify the company if your HPC cluster includes two diagnostic tests with the same alias from different companies and you only want information for one of the tests. You cannot specify both the Company and Test parameters.
Aliases |
none |
Required? |
false |
Position? |
2 |
Default Value |
no default |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-Scheduler<String>
Specifies the host name or IP address of the head node for the HPC cluster that includes the diagnostic test for which you want to view information. 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 |
%CCP_SCHEDULER% |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-Test<HpcTestCase>
Specifies the HPCTestCase object for the diagnostic test for which you want to view detailed information. Use the Get-HpcTest cmdlet to get an HPCTestCase object for a diagnostic test. You cannot specify the Test parameter if you also specify the Alias or Company parameters.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
no default |
Accept Pipeline Input? |
true (ByValue) |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
- An HpcTestCase object
Outputs
The output type is the type of the objects that the cmdlet emits.
- An HpcTestCaseDetail object and one or more HpcTestCaseStep objects
Notes
-
You must be a cluster administrator to run this cmdlet successfully.
-
This cmdlet is supported only for Windows HPC Server 2008 R2.
Examples
EXAMPLE 1
Gets detailed information about the Ping Test.
![]() |
|
---|---|
Get-HpcTestDetail –Alias ping |
EXAMPLE 2
Gets detailed information about the diagnostic test with an alias of diskspace from the company named Contoso, Ltd.
![]() |
|
---|---|
Get-HpcTestDetail –Alias diskspace –Company "Contoso, Ltd" |
EXAMPLE 3
Gets the HpcTestCase object for the DNS Test, then gets detailed information about that test by redirecting that object to the input of the Get-HpcTestDetail cmdlet.
![]() |
|
---|---|
Get-HpcTest –Alias dnstest | Get-HpcTestDetail |