Frankieb81 Posted November 5, 2010 Share Posted November 5, 2010 Hello All, I am trying to create a Auto IT Script that will non stop monitor the Windows Event Log. I have used the different scritps that have been shared on here and have been unable to the results I need. I have attached a text copy of what I have come up with so far. As the script stands now it will bring up a memo pad indicating there is new logs and will start my batch file. What I am needing to do is to narrow down the Event that the script is monitoring. Here is what I am wanting to watch for then when this is found for it to start my batch program. <Provider Name="Mup" /> <EventID Qualifiers="32772">139</EventID> <Level>3</Level> Also not sure how the If $iResult = -2 Then works with regards to the (-2) not sure what the numbers mean have researched and have been unable to find anything. Any Suggestions would be greatly Appreciated. Thanks FrankScript.txt Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now