How to email output of scheduled tasks?
On Unix systems, the scheduled task service will email any output that a scheduled task produces. If no output is produced, no email is sent. How can I do the same thing on Windows Server 2003 or 2008? Is there a way to call a batch file or executable that will run my task, capture the output, and email it only if there is output?
If you propose a PowerShell solution, please note that I only have PowerShell 1.0.
I use autoIT for this type of stuff. It is very easy to use and has this functionality built in. The help files are full of examples and snipits that do exactly what you are looking for. If I had more detail regarding the task at hand I would have a more specific answer.
You should be able to locate what you need from here.