How To Monitor Event Logs?
One of the tasks of being a Windows System Administrator is to monitor system event logs for errors and potential warning errors. This article is to show you how to monitor event logs on servers with scripts. You can use VB script or Powershell script for this. I personally think that powershell scripts are cleaner and easier to code.
Below is a link to Microsoft script center, which you should bookmark for future script references.
Powershell Centralized Log Monitor [link]
Also, remember there are a lot of good monitoring application out there that can do much better log monitoring then using scripts. You might want to test those out first.