Diskperf Command In Windows Server 2008

This article explains how to use Diskperf command in Windows Server 2008 operating system.
  • 3376

Introduction

The Diskperf command is used to manage disk performance counters remotely. The Diskperf command was useful for disk performance counter administration in Windows NT and 2000 but are permanently enabled in Windows 7. Syntax for using Diskperf command is given below.

Syntax

diskperf [-Y[D|V]  |  -N[D|V]]  [\\computername]

Parameters For Diskperf

Parameter Description
-? Shows context sensitive help.
-Y Used to start all disk performance counters when the computer restarts.
-YD Enable disk performance counters for physical drives when computer restarts.
-YV Enable disk performance counters for logical drives when computers restarts.
-N Disable 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 when the computer restarts.
\\<computername> Defines the name of the computer where you want to enable or disable disk performance counters.

Ask Your Question

Got a programming related question? You may want to post your question here

Programming Answers here

Categories

More Articles

© 2020 DotNetHeaven. All rights reserved.