Articles → POWERSHELL → Get-Eventlog Function In Powershell

Get-Eventlog Function In Powershell






Purpose





Example 1


Get-EventLog -List




Picture showing the output of get-eventlog function in PowerShell
Click to Enlarge


Example 2


Get-EventLog -LogName System -Newest 5




Picture showing the output of get-eventlog function in PowerShell
Click to Enlarge


Example 3


Get-EventLog -LogName System -Newest 5 -source DCOM




Picture showing the output of get-eventlog function in PowerShell
Click to Enlarge


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

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250