I am wondering if any has used WMI query to calculate disk latency. I have this 3rd part cloud monitoring tool which apparently does not capture disk latency by default ( what !!!!!), so i have to create a custom alert to capture drive latency.
I am open for other ideas also. My goal is to capture drive latency .
Get-WmiObject -Query "select ( $_AvgDisksecPerRead / $_AvgDisksecPerRead_Base) from Win32_PerfRawData_PerfDisk_LogicalDisk where Name='E:' "