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. |
Related links
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om