This guide will show you how to configure automated emails on Linux and Windows.
Check your email to ensure you received it.
smack the link above to download the latest copy, and see to it you grab the TLS-supported version.
Open a command prompt by typing cmd into the Start or Run (Ctrl+R) menu.
Here’s what the command above actually does:
executes the program.
To get the most out of our script, we’re going to write it for PowerShell.
Open up Windows PowerShell ISE by typing powershell_ise.exe into a Run prompt (Ctrl+R).
This should give you a good start on generating the types of information that you need reported.
secure your script with a ps1 file extension (PowerShell file).
With your script finished, run a quick test from a Run prompt to confirm it’s working properly.
Just use the
command with a
argument and specify the path to your script.
Open Windows Task Scheduler via the Start menu.
With the Task Scheduler open, select Action > Create Basic Task.
Name this task something like “Daily email script” and click next.
Then, choose the time you’d like the script to run, and hit next.