New-VBRDailyOptions
Short Description
Creates new job daily schedule settings.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
New-VBRDailyOptions [-DayOfWeek <DayOfWeek[]>] [-Period <TimeSpan>] [-Type <VBRDailyOptionsType>] [<CommonParameters>] |
Detailed Description
This cmdlet creates the VBRDailyOptions object. This object contains job daily schedule settings. You can use this object to set job schedule.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept |
|---|---|---|---|---|---|
|
Type |
Specifies the job schedule type:
|
VBRDailyOptionsType |
False |
Named |
False |
|
DayOfWeek |
Specifies the day of week when the job will run. Default: Saturday. |
DayOfWeek[] |
False |
Named |
False |
|
Period |
Specifies the time when the job will start. Default: 18:00. |
TimeSpan |
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
Examples
Example 1. Creating Schedule for Every Friday
|
This example shows how to create schedule with the following settings: every Friday at 23:00.
Perform the following steps:
|
Example 2. Creating Schedule for Everyday
|
This example shows how to create schedule with the following settings: everyday at 20:00.
Perform the following steps:
|
Example 3. Creating Schedule for Weekends
|
This example shows how to create schedule with the following settings: on weekends at 18:00.
Perform the following steps:
|