Showing results for Get-WinEvent - PowerShell Team

Jun 11, 2009
Post comments count0
Post likes count0

Windows Event Log in PowerShell – Part II

PowerShell Team
PowerShell Team

In part 1 of “Event logs in Powershell” we talked about differences between Get-EventLog and Get-WinEvent. In this second part we will dig deeper into Get-WinEvent.   Starting in Windows Vista, the Windows Event Log was updated to provide a more powerful event model which allows for events to be easily categorized into logs and for event...

Event LogGet-WinEvent
May 21, 2009
Post comments count0
Post likes count0

Processing Event Logs in PowerShell

PowerShell Team
PowerShell Team

PowerShell V2 ships with two sets of cmdlets for processing event logs, one is *-EventLog set and other is Get-WinEvent.   Reading Events: As you can see there are two cmdlets to GET events from event logs , Get-WinEvent and Get-EventLog. Having two cmdlets to do the same thing seems to be counter-intuitive and I will explain the difference...

Event LogGet-EventLogGet-WinEvent