By Charles McDowell
Comptia Certified Linux Networking Professional.
Cisco Certified Networking Technician.
Microsoft Technology Associate Database Administration
First we create a ps1 script to send the email.
Example:
## Email configuration $to = "insert email address” $smtp = "mail.example.com" $from = " insert email address " $subject = "Today was a great Day!" $body = "Hello All, <br>" $body += "Today was a great day!." # Send email. send-MailMessage -SmtpServer $smtp -To $to -From $from -Subject $subject -Body $body -BodyAsHtml -Priority high
Then create a job on task scheduler to run the script at an appointed time.