Disable_Enable_With_IO
The Disable_Enable_With_IO script (Disable_Enable_With_IO.wsf) uses the Microsoft Windows Device Testing Framework (WDTF) to individually disable and enable specified devices in the system. This script also runs simple I/O stress tests on all the specified devices as soon as the device is enabled.
Note This script can only be used with devices that can be disabled in the system.
Cscript Disable_Enable_With_IO.wsf /Devices:
Devices
[/Cycles:
Cycles
] [/MinIOPeriod:
IOPeriod
]
Parameters
Devices
This is an optional parameter and is used to specify one or more device hardware IDs or classes to run the simple I/O stress tests on. If this parameter is not specified, the script runs the I/O stress tests on all devices that currently support the SimpleIO interface.Cycles
This is an optional parameter and specifies the minimum number of cycles that the script runs. If this parameter is not specified, the default Cycles value is 3.IOPeriod
This is an optional parameter and specifies the number of milliseconds that the script waits before it starts a simple I/O stress test during each cycle.If this parameter is not specified, the default IOPeriod value is 20000.
Remarks
The Disable_Enable_With_IO script runs tests on specified devices or device setup classes. By default, the script runs tests for all devices of every device setup class that is present on the system.
As an option, the tests can be limited to specific classes or to specific devices by using the /Devices parameter. Devices are specified by using device identifiers (IDs). Device setup classes are specified by using the class name as defined in Device Setup Classes.
The /Devices parameter must be in the format of a Simple Data Evaluation Language (SDEL) query.
Example
The following command runs the Disable_Enable_With_IO script only on storage volumes that are present and enabled on the system. In this example, the tests run a maximum of 12 times:
Cscript Basic_SimpleIO.wsf /Devices:"Class='VOLUME'" /CyclesToRun:12
Send comments about this topic to Microsoft
Build date: 1/30/2012