The Win32_ReliabilityRecords class was introduced with Windows 7. It contains information from the Windows Event Log related to system reliability.
The most interesting properties are the Message and the TimeGenerated
£> Get-WmiObject -class win32_reliabilityRecords | select -First 1 | fl Message, TimeGenerated
Message : Installation Successful: Windows successfully installed the following update: Definition Update for Windows Defender – KB2267602 (Definition 1.207.1367.0)
TimeGenerated : 20150929170914.620000-000
Notice the usual delightful date format on TimeGenerated
Easiest way to resolve this and get sensibly formatted date is to use the CIM cmdlets
£> Get-CimInstance -ClassName win32_reliabilityRecords | select -First 1 | fl Message, TimeGenerated
Message : Installation Successful: Windows successfully installed the following update: Definition Update for Windows Defender – KB2267602 (Definition 1.207.1367.0)
TimeGenerated : 29/09/2015 18:09:14
Now you have a date you can read easily.
Pingback: The Power of the Round Table (AZ PowerShell) – PowerShellPosse