Last active
October 14, 2026 03:59
-
-
Save easierbycode/6585a76b6e9ac1ea6ca480eff3dd52b1 to your computer and use it in GitHub Desktop.
diablo-log.ps1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| powershell -NoExit -ExecutionPolicy Bypass -File "%~diablo-freeze-log.ps1" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Get-WinEvent -FilterHashtable @{LogName='System'; ProviderName='Microsoft-Windows-Resource-Exhaustion-Detector'; StartTime=(Get-Date).AddDays(-365)} | | |
| Format-List TimeCreated, Id, Message |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Get-WinEvent -FilterHashtable @{LogName='System'; Id=41,6008,4101; StartTime=(Get-Date).AddDays(-14)} | | |
| Format-List TimeCreated, Id, ProviderName, Message | |
| Get-WinEvent -FilterHashtable @{LogName='System'; ProviderName='Microsoft-Windows-WHEA-Logger'; StartTime=(Get-Date).AddDays(-14)} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Get-WinEvent -FilterHashtable @{LogName='Application'; Id=1000,1001,1002; StartTime=(Get-Date).AddDays(-14)} | | |
| Where-Object Message -match 'Diablo' | | |
| Format-List TimeCreated, Id, Message |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment