Partager via


test remove

 

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

Removes the diagnostic test with the specified alias or identifier from the HPC cluster.

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

Syntax

test remove {<test_alias> | /testid:<identifier>} [/company:<company_name>] [/server:<server_name>]

test remove {/? | /help}

Parameters

Parameter

Description

<test_alias>

Specifies the alias for the diagnostic test that you want to remove. You cannot specify the <test_alias> parameter if you also specify the /testid parameter. If your HPC cluster includes two tests with the same alias from different companies, specify the /company parameter in addition to the <test_alias> parameter to specify the test that you want to remove.

/server:<server_name>

Specifies the host name or IP address of the server that hosts the HPC Diagnostics Service for the HPC cluster from which you want to remove the diagnostic tests. The value must be a valid computer name or IP address. If you do not specify the /server parameter, this command uses the head node that the CCP_SCHEDULER environment variable specifies.

/testid:<identifier>

Specifies the numeric identifier for the test that you want to remove. You cannot specify the /testid parameter if you also specify the <test_alias> parameter.

/company:<company_name>

Specifies the company that created the diagnostic test that you want to remove from the HPC cluster. Specify the company if your HPC cluster includes two diagnostic tests with the same alias from different companies. If the company name includes spaces, enclose the company name in quotation marks (").

/?

Displays Help at the command prompt.

/help

Displays Help at the command prompt.

Remarks

  • To get a list of diagnostic tests that are installed on the cluster that includes their identifiers and aliases, use the test listtests command.

  • To get information about the company that provided a diagnostic test, use the test viewtest command.

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

Examples

To remove the diagnostic test with an alias of MyCustomTest from the HPC cluster, type:

test remove MyCustomTest

To remove the diagnostic test with an identifier of 53 from the HPC cluster, type:

test remove /testid:53

To remove the diagnostic test with an alias of Test from the company named Contoso, Ltd, type:

test remove Test /company:"Contoso, Ltd"

Additional references