Articles → POWERSHELL → get-eventlog function in PowerShell
get-eventlog function in PowerShell
Purpose
Example 1
Click to Enlarge
Example 2
Get-EventLog -LogName System -Newest 5
Click to Enlarge
Example 3
Get-EventLog -LogName System -Newest 5 -source DCOM
Click to Enlarge