## System Loss Durability

PS C:\Users\amdadministrator> $shutdownFailures = Get-WinEvent -LogName System -FilterXPath "*[System[EventID=6006 or EventID=6008]]" | Sort-Object TimeCreated -Descending
PS C:\Users\amdadministrator> if ($shutdownFailures) {
>>     Write-Output "Shutdown Failures:"
>>     $shutdownFailures | Select-Object TimeCreated, Id, Message
>> } else {
>>     Write-Output "No shutdown failures found."
>> }
Shutdown Failures:

TimeCreated            Id Message
-----------            -- -------
9/3/2026 5:20:58 PM  6006 The Event log service was stopped.
9/2/2026 3:32:06 AM  6006 The Event log service was stopped.
8/12/2026 3:23:59 AM 6006 The Event log service was stopped.