Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Get-Eventlog Powershell Basics
#List of Eventlog's available
Get-EventLog -List
#Local computer Application eventlog
Get-E...
Upcoming SlideShare
Loading in …5
×

Get-EventLog Powershell Basics

310 views

Published on

Get-EventLog Powershell Basics

Published in: Software
  • Be the first to comment

Get-EventLog Powershell Basics

  1. 1. Get-Eventlog Powershell Basics #List of Eventlog's available Get-EventLog -List #Local computer Application eventlog Get-EventLog -Newest 20 -logname Application | Out-GridView #Local computer Application eventlog Get-EventLog -Newest 20 -logname System -entrytype Error| Out- GridView #Searching for specific messages Get-EventLog -Newest 1000 -logname System -entrytype Error| where {$_.Message -like "*10028*"} | Out-GridView #Specific source application - outlook Get-EventLog -log application -source outlook | Out-GridView #powershell error log Get-EventLog -log "Windows PowerShell" -entrytype Error -Newest 100 | Out-GridView

×