Articles → POWERSHELL → get-eventlog function in PowerShell

get-eventlog function in PowerShell






Purpose





Example 1


Get-EventLog -List





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


Posted By  -  Karan Gupta
 
Posted On  -  Tuesday, June 25, 2019

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250