In my quest I just landed here:
https://docs.microsoft.com/en-us/pre...ovider-classes
And all I can say is that the second WMI class (Win32_ReliabilityStabilityMetrics class) works as expected and returns all results in PowerShell:
Code:
PS C:\WINDOWS\system32> get-wmiobject Win32_ReliabilityStabilityMetrics -computername 127.0.0.1 -property "SystemStabilityIndex" |
>> select-object -first 1 SystemStabilityIndex | format-table *
SystemStabilityIndex
--------------------
5.949
matching what I see in the Reliability Monitor, the first one (Win32_ReliabilityRecords class) seems also returning some errors:
Code:
PS C:\WINDOWS\system32> get-wmiobject Win32_ReliabilityRecords -computername 127.0.0.1 -property Message |
>> select-object -first 5 Message | format-list *
Message : Installation Successful: Windows successfully installed the following update:
9NBLGGH4QGHW-Microsoft.MicrosoftStickyNotes
get-wmiobject : Generic failure
At line:1 char:1
+ get-wmiobject Win32_ReliabilityRecords -computername 127.0.0.1 -prope ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Get-WmiObject], ManagementException
+ FullyQualifiedErrorId : GetWMIManagementException,Microsoft.PowerShell.Commands.GetWmiObjectCommand
Sticky notes app got actually updated yesterday, so this entry is present okay somewhere.
My Windows 8.1 laptop returns in the latter case:
Code:
PS C:\WINDOWS\system32> get-wmiobject Win32_ReliabilityRecords -computername 127.0.0.1 -property Message |
>> select-object -first 5 Message | format-list *
>>
Message : Installation Successful: Windows successfully installed the following update: Security Intelligence Update
for Microsoft Defender Antivirus - KB2267602 (Version 1.317.1926.0)
Message : Installation Successful: Windows successfully installed the following update: Security Intelligence Update
for Microsoft Defender Antivirus - KB2267602 (Version 1.317.1900.0)
Message : Installation Successful: Windows successfully installed the following update: Security Intelligence Update
for Microsoft Defender Antivirus - KB2267602 (Version 1.317.1832.0)
Message : Faulting application name: wwahost.exe, version: 6.3.9600.17415, time stamp: 0x545036ce
Faulting module name: KERNELBASE.dll, version: 6.3.9600.19724, time stamp: 0x5ec5262a
Exception code: 0xe0434352
Fault offset: 0x0000000000007afc
Faulting process id: 0x46d8
Faulting application start time: 0x01d6474c8ea2162e
Faulting application path: C:\WINDOWS\system32\wwahost.exe
Faulting module path: C:\WINDOWS\system32\KERNELBASE.dll
Report Id: 13732712-b340-11ea-8156-7c5cf83b9b05
Faulting package full name: AppUp.IntelExperienceCenter_1.9.1.8_x64__8j3eq9eme6ctt
Faulting package-relative application ID: App
Message : Installation Successful: Windows successfully installed the following update: Security Intelligence Update
for Microsoft Defender Antivirus - KB2267602 (Version 1.317.1777.0)
And:
Code:
PS C:\WINDOWS\system32> get-wmiobject Win32_ReliabilityRecords -property @("SourceName", "EventIdentifier") |
>> group-object -property SourceName,EventIdentifier -noelement | sort-object -descending Count |
>> select-object Count,Name | format-table *
>>
Count Name
----- ----
54 Microsoft-Windows-WindowsUpdateClient, 19
18 Application Error, 1000
14 MsiInstaller, 1035
11 MsiInstaller, 1033
8 Microsoft-Windows-UserPnp, 20001
5 MsiInstaller, 1036
2 MsiInstaller, 1038
And without any errors. So I think I'm onto something here.
Any PowerShell/WMI & scripting aficionado here who is able to assist in troubleshooting?