Skip to content

SDF-OBS-03 โ€” get-eventlog.ps1

Purpose:
To view recent system logs for errors, warnings, and informational events.


๐Ÿงญ Script Example

Get-EventLog -LogName System -Newest 20

๐Ÿ“Š What It Shows

  • Event ID
  • Source
  • Entry type (Error, Warning, Information)
  • Timestamp and message

๐Ÿง  Reflection

  • Did any errors repeat frequently?
  • What was the most recent warning?