Hi, I've got a script creating backup jobs with all the options I want but I cannot find how to set the flag which is in the GUI with the text " Run the job automatically".
Note that the $job.EnableScheduler() and $job.DisableScheduler() functions do the equivalent of the GUI right-clicking on a job and toggling the "Disable" tick box. This is not the same.
If I manually set the flag: Select job -> Edit -> Next -> Next -> Next -> Next -> [x] Run the job automatically -> Finish
Then the $job.DisableSheduler() function does the above *AS WELL* as clearing the flag.
But the $job.EnableScheduler() function *ONLY* does the above and does NOT set this flag.
Anyone know how to set this flag from PowerShell?