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?