Get Crash History

11/1/2016

Name:

Get Crash History

Category:

Event Logs

Description: 

Display all events in the target computer's System Event Log that contain the word “crash”.

Required Software:

PowerShell

Command:

Write-Output "Get crash history for $(Computer:TARGET)"
Get-WinEvent -ComputerName $(Computer:TARGET) -LogName System -ErrorAction SilentlyContinue |
where {$_.Message -match "crash" } |
Format-List -property TimeCreated, LogName, ProviderName, LevelDisplayName, ID, Message

More Info/Usage:

Get-WinEvent