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>] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>] |
Detailed Description
This cmdlet creates an object containing job daily schedule settings. You can use this object to set job schedule.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
---|---|---|---|---|---|
Type | Specifies the job schedule type:
| False | Named | False | False |
DayOfWeek | Specifies the day of week when the job will run. Default: Saturday. | False | Named | False | False |
Period | Specifies the time when the job will start. Default: 18:00. | False | Named | False | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
Return Type
Example 1
This command creates schedule with the following settings: every Friday at 23:00. Save the result to the $fridayoptions variable for later use.
Example 2
This command creates schedule with the following settings: every day at 20:00. Save the result to the $everydayoptions variable for later use.
Example 3
This command creates schedule with the following settings: on weekends at 18:00. The Period is not set — the command will use the default value. Save the result to the $weekendoptions variable for later use.