Run PowerShell Scripts from Task Scheduler
I assume that your are familiar with the Task Scheduler in Windows, so this one should be a quick one:
- Create a new task
- Create an Action
-
Program/Script: <pre class="lang:default decode:true ">powershell.exe</pre>
-
Add arguments: <pre class="lang:default decode:true ">-NoProfile -ExecutionPolicy Bypass C:\path_to_your_script.ps1</pre>
- Set all the other needed things liker any other scheduled task
- Have an automated powershell script, easy right?