Forum Discussion
tcoman-vbrick
Jun 05, 2020Copper Contributor
Scheduled Tasks
Has anyone got Scheduled Tasks to actually work in the latest Windows Admin Center? I'm just trying to run a very simple Powershell script that cleans up files in one directory on our servers. This s...
tcoman-vbrick
Jun 22, 2020Copper Contributor
Figured this out on my own. These are the correct settings:
Command: c:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
Arguments: -ExecutionPolicy Bypass c:\path\to\script.ps1
You may not need the -ExecutionPolicy parameter. We use CIS Level 1-2 settings on our systems, so security is pretty locked down.
Todd