Add-HpcTest

Adds the custom diagnostic tests that the specified XML file defines to the set of diagnostic tests that administrators can run on the HPC cluster.

Syntax

Copy Code
Parameter Set: Default

Add-HpcTest [-File] <String> [-Scheduler <String> ] [ <CommonParameters>]


Detailed Description

Adds the custom diagnostic tests that the specified XML file defines to the set of diagnostic tests that administrators can run on the HPC cluster. For information about creating custom diagnostic tests, see the Diagnostics Extensibility in Windows HPC Server 2008 R2 Step-by-Step Guide (http://go.microsoft.com/fwlink/?LinkId=177604).

Parameters

-File<String>

Specifies the name of the XML file that defines the diagnostic tests that you want to add to the cluster, including the relative or full path if the file is not in the current directory. The file name and path must be valid.


Aliases

none

Required?

true

Position?

1

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 cluster to which you want to add 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

%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

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.

  • One or more HpcTest 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

Adds the diagnostic tests defined in the XML file at C:\DiagnosticTest\CustomSuite1.xml to the set of diagnostic tests for the HPC cluster.


  Copy Code
Add-HpcTest –File "C:\DiagnosticTest\CustomSuite1.xml"

Related topics