Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

Event Log Queries Using PowerShell

Summary: Ed Wilson, Microsoft Scripting Guy, talks about using Windows PowerShell to query event logs. Microsoft Scripting Guy, Ed Wilson, is here. Today I talk a bit more about using Windows PowerShell to make queries from the event log. Although most large enterprises already have an event log monitoring application, at times it is useful to...

Filtering Event Log Events with PowerShell

Summary: Ed Wilson, Microsoft Scripting Guy, talks about filtering event log events with the Get-WinEvent cmdlet. (image)  Hey, Scripting Guy! I try to use the Get-WinEvent cmdlet to search event logs, but it is pretty hard to do. Also, I don’t see the nice switches that I had with Get-EventLog, so I don’t see why I should use...