Avilith – Scripts

Get BSOD Logs

Category: Crash Diagnostics

Back to Scripts

Parses Windows Event Logs for recent Blue Screen crash (BugCheck) events with error codes and parameters.


Write-Host "Retrieving recent BSOD events from System log..." -ForegroundColor Yellow
Get-WinEvent -LogName System | Where-Object {
    $_.Id -eq 1001 -and $_.ProviderName -eq 'Microsoft-Windows-WER-SystemErrorReporting'
} | Select-Object TimeCreated, Id, Message | Format-List

        

Comments

Log in to leave a comment.