Table of ContentsView in Frames

Clearing SAN connectivity statistics

The get-sanstats cmdlet provides statistics about SAN connectivity. You can use the clear-sanstats cmdlet to reset the statistics values to 0.

About this task

You can clear statistics for all virtual disks or for a single virtual disk by specifying the disk ID. The get-sandisk cmdlet displays disk IDs.

Step

  1. Enter the following cmdlet at a Windows PowerShell prompt: clear-sanstats [-Disk DiskID]