14 May 2025

Search through all event logs for specific event using PowerShell

 In PowerShell you can search through all event logs for a specific phrase in event Message field

This is the oneliner for that

Get-WinEvent -FilterHashtable @{LogName = '*'; StartTime = (Get-Date).AddDays(-1) } | Where-Object Message -match 'checkpoint' | Out-GridView