troubleshooting Question

email alert after task scheduler execute a script.

Avatar of sara2000
sara2000 asked on
PowershellWindows Server 2012
2 Comments1 Solution50 ViewsLast Modified:
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
Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros