Set-ASTestState
Edition:Powershell cmdlets are enabled with AdminStudio Enterprise Edition and with Workflow Manager.
You can use the Set-ASTestState cmdlet to set a given test to either run or not run.
Example
The following is the syntax used to specify whether or not a test will run:
Set-ASTestState-TestId nnnn-TestState 0
For example:
Set-ASTestState-TestId 0401-TestState 0
Parameters
The ASTestState cmdlet has the following parameters:
Parameter |
Description |
||||||
TestId |
Use to specify the ID number of the test whose test state you want to set. This is the same ID number that identifies the test on the Application Catalog Select Tests to Execute dialog box. (Required) |
||||||
TestState |
(Required) Use one of the following values to specify a test state:
|
Returns
One of the following values is returned:
• | True—Operation was successful. |
• | False—Operation was not successful. |