List, add, edit, delete Windows Scheduled Tasks from the command-line
Is there a command-line tool that can be used to programatically list, add, edit and delete Windows Scheduled tasks?
I realize that there are better alternatives to Scheduled Tasks, but I need to make changes to an existing set of tasks on a large number of PCs and would like to script it.
Thanks, Jon
Solution 1:
See This link at Microsoft on using at and schtasks to manage scheduled tasks from the command line.
Solution 2:
schtasks.exe /change /TN pepe /ENABLE