Question : Query Event Log

hi,

This is for windows server 2008 standard edition.

how would you query the event log (powershell?) that filters on a date range for
specific event sources (source01 source02) for specific level (error) that contains keyword in the error description such as 'out of bound'?

TIA!

Answer : Query Event Log


You can also use the "-message" parameter to filter out the string you want

get-eventlog application -entrytype Error -after $FromDay -before $UntilDay -message "*out of bound*" -source source01

Random Solutions  
 
programming4us programming4us