diskperf
The diskperf command remotely enables or disables physical or logical disk performance counters on computers running Windows.
Syntax
diskperf [-y[d|v] | -n[d|v]] [\\computername]
Options
Option | Description |
---|---|
-y | Starts all disk performance counters when the computer restarts. |
-yd | Enables disk performance counters for physical drives when the computer restarts. |
-yv | Enables disk performance counters for logical drives or storage volumes when the computer restarts. |
-n | Disables all disk performance counters when the computer restarts. |
-nd | Disable disk performance counters for physical drives when the computer restarts. |
-nv | Disable disk performance counters for logical drives or storage volumes when the computer restarts. |
\\<computername> |
Specifies the name of the computer where you want to enable or disable disk performance counters. |
-? | Displays context sensitive help. |