How to set up script based scheduling
Save the zip archive to your system, extract the file and make sure the script extension is ‘.ps1’. Open the Windows-Task Scheduler, create a new task, and configure the following:
- Action: Start a program
- Program/script: PowerShell.exe
- Add argument: -Command "& 'C:\MyFilePath\Powershellscript.ps1' -connections 'MyConnectionName1, MyConnectionName2, ...'"