PowerShell Logo Small

Reset-StorageReliabilityCounter



This is the built-in help made by Microsoft for the command 'Reset-StorageReliabilityCounter', in PowerShell version 4 - as retrieved from Windows version 'Microsoft Windows 8.1 Enterprise' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Resets storage reliability counters for a disk.

SYNTAX


Reset-StorageReliabilityCounter [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-ThrottleLimit <Int32>] -InputObject <CimInstance[]> [<CommonParameters>]
Reset-StorageReliabilityCounter [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-ThrottleLimit <Int32>] -Disk <CimInstance> [<CommonParameters>]
Reset-StorageReliabilityCounter [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-ThrottleLimit <Int32>] -PhysicalDisk <CimInstance> [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Reset-StorageReliabilityCounter cmdlet resets the storage reliability counters to zero for a virtual disk or physical disk. The cmdlet resets the following storag
e reliability counters for I/O operations: read latency, write latency, and flush latency. If an unexpected issue with a disk or driver causes high latency, use this
cmdlet to discount the sharp rise in latencies when you monitor I/O performance.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=307026
Get-StorageReliabilityCounter
Get-PhysicalDisk

REMARKS

<

Examples


Example 1: Reset the reliability counters for two physical disks

PS C:\> $Counter1 = Get-StorageReliabilityCounter -PhysicalDisk (Get-PhysicalDisk "PhysicalDisk01")
PS C:\> $Counter2 = Get-StorageReliabilityCounter -PhysicalDisk (Get-PhysicalDisk "PhysicalDisk02")
PS C:\> Reset-StorageReliabilityCounter -InputObject $Counter1, $Counter2



The first command gets the storage reliability counters for the physical disk named PhysicalDisk01, and stores the counters in the $Counter1 variable.

The second command gets the storage reliability counters for the physical disk named PhysicalDisk02, and stores the counters in the $Counter2 variable.

The last command resets the storage reliability counters for the physical disks stored in $Counter1 and $Counter2.