I cant find the appropriate place to put this so I will start here.
Problem: I have a task scheduler set up to inform me when there is an error on my server. Lately I have been getting a lot of errors that dont matter and would like to filter those some how.
So when the task scheduler notices an error it runs this command
Click image for larger version
The command makes a text file with the eventID and information like this and places into a file called query.txt
Click image for larger version
What i would like to do is get that highlighted part, make that the name of the file, maybe by variable. If i was able to do that, i can have automate search the attachments for certain criteria and i would get only the emails with errors i need.
If someone has a better solution i am all ears.