PowerTip: Use PowerShell to Determine System Stability

PowerTip: Use PowerShell to Determine System Stability

  • Comments 3
  • Likes

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 

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • 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 :

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

  • @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