Compartilhar via


Win32_ReliabilityStabilityMetrics class

The Win32_ReliabilityStabilityMetrics WMI class contains metrics related to system reliability. .

The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties. Properties are listed in alphabetic order, not MOF order.

Syntax

[Provider("ReliabilityMetricsProvider"), Dynamic]
class Win32_ReliabilityStabilityMetrics : Win32_Reliability
{
  datetime EndMeasurementDate;
  string   RelID;
  datetime StartMeasurementDate;
  real64   SystemStabilityIndex;
  datetime TimeGenerated;
};

Members

The Win32_ReliabilityStabilityMetrics class has these types of members:

Methods

The Win32_ReliabilityStabilityMetrics class has these methods.

Method Description
GetRecordCount Retrieves the number of instances in the Win32_ReliabilityStabilityMetrics class.

Properties

The Win32_ReliabilityStabilityMetrics class has these properties.

EndMeasurementDate

Data type: datetime

Access type: Read-only

Specifies the most recent UTC time at which reliability metric data was collected.

RelID

Data type: string

Access type: Read-only

Specifies a GUID that is used to correlate reliability metrics on this computer. The GUID will be reset if an error prevents reliability metrics from being calculated.

StartMeasurementDate

Data type: datetime

Access type: Read-only

Specifies the UTC time at which reliability metric data collection began.

SystemStabilityIndex

Data type: real64

Access type: Read-only

Specifies the system stability index value. The stability index ranges from 1 (the least stable) to 10 (the most stable). You can use the index to help evaluate the reliability of a computer.

TimeGenerated

Data type: datetime

Access type: Read-only

Qualifiers: Key, Dynamic

Specifies the UTC time at which the system stability index value was calculated. This value is used to uniquely identify an instance of this class.

Remarks

The Win32_ReliabilityStabilityMetrics class is derived from Win32_Reliability. To access information from this WMI class, the group policy Configure Reliability WMI Providers must be enabled. On Windows client systems, the policy is enabled by default. On Windows Server systems, the policy is disabled by default. Disabling the policy will clear existing data within one hour. The Win32_ReliabilityStabilityMetrics class is not available on Itanium-based versions of the Windows operating system, or the Server Core installation option of Windows Server operating systems.

Examples

The following Windows PowerShell example displays the most recent stability index from the local computer.

get-wmiobject Win32_ReliabilityStabilityMetrics -computername 127.0.0.1 -property "SystemStabilityIndex" | 
  select-object -first 1 SystemStabilityIndex | format-table *

The following Windows PowerShell example displays the most recent stability indices from multiple computers.

@("127.0.0.1", "localhost") |
  foreach-object -process {
    get-wmiobject Win32_ReliabilityStabilityMetrics -computername $_ -property @("__SERVER", "SystemStabilityIndex") | 
    select-object -first 1 __SERVER,SystemStabilityIndex |
    format-table *
  }

The following Windows PowerShell example displays a vertically oriented graph of the stability index for the local computer.

get-wmiobject Win32_ReliabilityStabilityMetrics -property @("SystemStabilityIndex","EndMeasurementDate") | 
  foreach-object -process 
 {
    $t = ""; 
    for ($i = 0; $i -le $_.SystemStabilityIndex * 5; $i++) { $t = $t + "=" }; 
    $_.EndMeasurementDate + " " + $t 
  }

Requirements

Minimum supported client
Windows 7
Minimum supported server
Windows Server 2008 R2
Namespace
Root\CIMV2
MOF
RacWmiProv.mof
DLL
RacWmiProv.dll

See also

Win32_ReliabilityRecords

Operating System Classes

Win32_NTLogEvent