I am working on a powershell script to change the schedule of the jobs in the array. The script works and when looking at the job in the GUI the schedule reflects what's shown in the script. Then when I enable the job the schedule defaults to that 10:00 time instead. Anyone else experience this? This is Version 7 R2.
I have just tried the provided script. You were right, it doesn't seem to work properly. Even though the time is updated rightly in the job settings, it isn't reflected well in GUI ("Next run").
Let me check this behavior more closely, and update the topic, once I have more information.
After playing around with PS snap-in a little bit, I think, I found the solution. Try the following script and see whether it sets the right schedule time for the given job:
I finally got a moment to try this and it worked perfectly, thank you very much. I was able to easily turn it into a loop and set them all.
Here's what I did so that someone can use it if need be.
I prefix all my primary jobs with HSB which identifies the repository location for me. Leave that out to get all your jobs or change it to identify just what you want to change.