Friday, June 19, 2009

Finding Event Log Messages With Powershell

Wooo! Big update!

Actually, I just don't want to lose this...
get-eventlog -ComputerName dalmobdev08 -logname application | where-object {$_.Message -match "corrupt"} | select-object -First 10


Finds event log entries with the word "corrupt" in the message.

No comments:

Post a Comment