Thanks Vitaliy,
I have looked at that post numerous times. While at the beginning of the post the do talk about Set-VBRJobSchedule, I do not see any examples of how to use it, or anything close to what my error is.
Error with set-vbrjobschedule (Get-VBRJob "test1") -retrytimes 3 :
Code: Select all
Set-VBRJobSchedule : Bad ParameterSet Name
They do have a little snipit in there, but since I am still new to powershell, I am unable to get it to work for me, with the options I want to set. I basically want each job to start on 15 minutes intervals, and run nightly. I have a text file of Job names, and start times. This will help minimize our network load during our other backup windows as well. Should be relatively straight forward according to the syntax in the help. But, just like the other poster, it is challenging to decipher what is really needed.
I have been able to create a bunch of jobs using powershell, I just need to schedule them all now.
Sample Syntax that I am trying:
Code: Select all
Set-VBRJobSchedule (Get-VBRJob "test1") -retrytimes 3 -StartDateTime "2010-05-13 22:00:51"
Failed to enable constraints. One or more rows contain values violating non-nul
l, unique, or foreign-key constraints.
At line:1 char:31
+ Set-VBRJobSchedule (Get-VBRJob <<<< "test1") -retrytimes 3 -StartDateTime "2
010-05-13 22:00:51"
+ CategoryInfo : NotSpecified: (:) [], ConstraintException
+ FullyQualifiedErrorId : System.Data.ConstraintException