Link to home
Start Free TrialLog in
Avatar of sara2000
sara2000

asked on

email alert after task scheduler execute a script.

I have a ps script to backup a server and i scheduled it via task scheduler to run. The script runs and backup works as I expected. I would like to modify the script for me to send an alert after the execution of the script. I do not care whether it is a successful backup or the backup ha failed. I only want to remind you the script ran on this day and time. I will appreciate it if you could list a statement so I can put that at the end of my script.
ASKER CERTIFIED SOLUTION
Avatar of oBdA
oBdA

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Or call a tool like Blat at the end of the script
https://www.blat.net/
https://alternativeto.net/software/blat/