Skip to content

Instantly share code, notes, and snippets.

@BurstX
Created July 14, 2021 13:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BurstX/8a2e3217b7f6dc6a082dbb30d571f1ae to your computer and use it in GitHub Desktop.
Save BurstX/8a2e3217b7f6dc6a082dbb30d571f1ae to your computer and use it in GitHub Desktop.
Get-EventLog -LogName System |? {$_.EventID -in (6005,6006,6008,6009,1074,1076)} | ft TimeGenerated,EventId,Message -AutoSize –wrap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment