Short Description
Applies customized job scheduling options to a selected SureBackup job.
Applies to
Platform: VMware, Hyper-V
Product Edition: Enterprise, Enterprise Plus
Syntax
Set-VSBJobScheduleOptions [-Job] <CSbJob> [-Options] <ScheduleOptions> [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>] |
Detailed Description
This cmdlet modifies scheduling options for the selected SureBackup job.
To customize the scheduling options you need to first run the New-VBRJobScheduleOptions cmdlet. New-VBRJobScheduleOptions returns the ScheduleOptions object containing the set of default scheduling options. You can customize any of these options and apply further to any kind of jobs.
Run Set-VBRJobScheduleOptions to set scheduling options of backup, replication or copy job.
To modify settings, enter the necessary parameters with new values. The parameters that you omit will remain unchanged.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
Job | Specifies the array of the SureBackup jobs. The cmdlet will apply the schedule settings to these jobs. | True | 1 | True (ByValue, | False |
Options | Specifies the SureBackup job schedule options you want to apply. | True | 2 | False | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.
Example 1
This command applies the customized scheduling options to the SureBackup jobs named "SharePoint SureJob" and "MailServer SureJob". The jobs are obtained with Get-VSBJob and piped down. The options to apply are set to the $ScheduleOptions variable beforehand by running New-VBRJobScheduleOptions.
PS C:\PS> Get-VSBJob -Name "SharePoint SureJob", "MailServer SureJob" | Set-VSBJobScheduleOptions -Options $ScheduleOptions |
Example 2
This command applies the customized scheduling options to the SureBackup job represented by the $SureJob variable. The job object is obtained with Get-VSBJob and assigned to the variable beforehand. The options to apply are set to the $ScheduleOptions variable beforehand by running New-VBRJobScheduleOptions.
PS C:\PS> Set-VSBJobScheduleOptions -Job $SureJob -Options $ScheduleOptions |
Related Commands