VBS script to watch the Application Log
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.
Thanks
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? - anonymous_9363 11 years ago
-
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 - dunnpy 11 years ago
Answers (0)
Please log in to answer
Be the first to answer this question