I have been working on a script to do some vmware related things and when it completes it produces a .log with the time and date included in the filename. I then have setup a task in the windows task scheduler to run the script and then the second step is to email me about it and include the file as an attachment. The problem I have is with it consistently changing the filename I cannot point the task to just one file.
I attempted to tell it to send *.log and it did not send anything. Has anyone attempted this or found a solution?