Event Viewer
Hi All, I am trying to attach the task from event viewer for particluar event id's and i was success doing that, but i want the error description from the event viewer which was generated by system. Anyone please help me. My OS : 2008 enterprise Regards Jakdba Regards Jak
July 8th, 2011 5:08pm

The easiest solution would be to attach a task to the event and in actions select run program, a program owuld be a powershelll script that reads errror message from that event log entry Example ps command: PS C:\Users\> Get-EventLog -LogName Application | Where-Object { $_.EventID -eq 1704 } | Select-Object -First 1 -Property Message Message ------- Security policy in the Group policy objects has been applied successfully. With kind regards Krystian Zieja http://www.projectenvision.com Follow me on twitter My Blog Need help with your systems?
Free Windows Admin Tool Kit Click here and download it now
July 8th, 2011 5:28pm

Hi, Thanks for the reply, But i want the event failure description attached to mail or as description. is that script going to help me? how to attach the given query output to my mail? Regards jakdb Regards Jak
July 8th, 2011 6:04pm

I hope you have check this article. Thanks
Free Windows Admin Tool Kit Click here and download it now
July 9th, 2011 6:40am

Hi YousuAli, Thanks for the reply, i saw this link earlier but it was throughing error when i am trying to register the event id. I figured out the process the below link worked for me. http://social.technet.microsoft.com/Forums/en/windowsserver2008r2general/thread/1907a64a-bfc5-4795-a858-8562c161888d thanks for every one's help here. I have a new requirment here. I want to monitor the task scheduler jobs all the time when, cause we are not receving any kind of alert messages when they are not staretd when they are scheduled to. So i want to monitor the log file, i dnt know from where shall i start digging this. Can any one help me out with this. Regards Jak
July 11th, 2011 12:24pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics