New answers tagged scheduled-task
Are you trying to update an already registered cluster task or to register a new cluster task ? From MSDN Blog : Set-ClusteredScheduledTask : Update an already registered cluster task. Register-ClusteredScheduledTask : Register a cluster task. I guess you are looking for Register-ClusteredScheduledTask.
Export the original task, then modify the XML export file and import into another computer or delete the original ask before importing the newly modified task.
Here is an example of parameter passing with schtasks: schtasks /create /tn "test" /TR "\"C:\Program Files\SyncToy 2.1\SyncToyCmd.exe\"-R" /sc daily /st 08:00:00
Top 50 recent answers are included