PowerTip: Use PowerShell to Determine System Stability

Summary: Use Windows PowerShell to determine the stability of your system.

Hey, Scripting Guy! Question How can I use Windows PowerShell 4.0 on my laptop running Windows 7 to find out how stable my system is?

Hey, Scripting Guy! Answer Use the Get-CimInstance cmdlet to query the Win32_ReliabilityStabilityMetrics, and pipe
          the result to Measure-Object to determine the average value of the SystemStabilityIndex:

Get-CimInstance Win32_ReliabilityStabilityMetrics | measure SystemStabilityIndex -Average 

Comments (3)

  1. Chen V says:

    Wonderful – to show in detail

    $a = Get-CimInstance Win32_ReliabilityStabilityMetrics

    $a.SystemStabilityIndex | Measure -Average -Maximum -Minimum

    Count    : 9146

    Average  : 5.22701989940956

    Sum      :

    Maximum  : 9.449

    Minimum  : 1.297

    Property :

  2. jay says:

    Does this not workin in 2012R2?  I am getting "Get-CimInstance : Not Available" wbemtest shows that its there though….

  3. mredwilson says:

    @Jay on server side you have to enable the RAC task. This is covered in this article: blogs.technet.com/…/weekend-scripter-troubleshooting-the-wmi-reliability-provider-for-windows-powershell.aspx