Would someone be able to point me in the right direction on how to create a (hopefully simple and small) VBS script to watch the Application Log? I'd like it to throw up a simple message on screen when it sees a particular entry based on the Event ID. Is this possible? I'd like it to watch the log on an ongoing live current basis rather than scanning any past entries.


2 Comments   [ - ] Hide Comments


  • A properly-written script won't be small or simple, since it will incorporate error-handling and such like. It would need to be robust, too. In your position, I'd be looking at Googling for a script which interrogates the event log and then add in functionality as you require. For example, how often are you going to check the log? Every minute? Every hour?
  • What VBSCab said - and he's a link to get you started (follow the links from there to the Script Center Script Repository. http://blogs.technet.com/b/heyscriptingguy/archive/2009/04/06/how-can-i-check-my-event-logs.aspx
Please log in to comment

There are no answers at this time
Answer this question or Comment on this question for clarity