Scripting Question

VBS script to watch the Application Log

09/10/2013 1588 views

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   [ + ] Show 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

Be the first to answer this question

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ