New-VBRJobScheduleOptions (obsolete)
Short Description
Creates new job schedule options.
Note |
This cmdlet is obsolete. You can still run this cmdlet but, depending on the job type, it is recommended to run one of the following cmdlets:
|
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
New-VBRJobScheduleOptions [<CommonParameters>] |
Detailed Description
This cmdlet creates the VBRJobScheduleOptions object. This object contains default job scheduling settings. You can edit any setting that you want to apply to a job.
Run the Set-VBRJobScheduleOptions cmdlet to apply the schedule to a job.
You can set schedule for backup, replication or copy jobs.
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBRJobScheduleOptions object that contains default job scheduling settings.
Examples
Example 1. Defining Schedule Settings
This command defines default schedule settings for a job. Save the result to the $newschedule variable for later use.
|
Example 2. Scheduling Job with Time Interval of 2 Hours
This example shows how to define schedule settings for a job. The job will run with the following schedule settings:
Perform the following steps:
|