New-VBRMonthlyOptions
Short Description
Creates a new VBRMonthlyOptions object.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
New-VBRMonthlyOptions [-DayNumberInMonth <VBRDayNumberInMonth>] [-DayOfMonth <String>] [-DayOfWeek <DayOfWeek>] [-Months <VBRMonth[]>] [-Period <TimeSpan>] [<CommonParameters>] |
Detailed Description
This cmdlet creates the VBRMonhtlyOptions object. This object contains the monthly schedule job settings. You can use this object to set job schedule.
Parameters
Parameter | Description | Type | Required | Position | Accept |
---|---|---|---|---|---|
Period | Specifies the time when the job will start. Default: 22:00. | TimeSpan | False | Named | False |
DayNumberInMonth | Specifies the number of day in month (for example, Saturday):
Default: Fourth. | VBRDayNumberInMonth | False | Named | False |
DayOfWeek | Specifies the week day for the DayNumberInMonth parameter. Default: Saturday. | DayOfWeek | False | Named | False |
DayOfMonth | Specifies the day in month: 1-31, Last. | String | False | Named | False |
Months | Specifies the months on which the job will run:
Default: all months. | VBRMonth[] | 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 with Specific Day and Time
This command creates the schedule for a job to run at 23:00 on the second Wednesday every month.
|
Example 2. Creating Schedule to Run at 10:00 on Last Sunday of January and July
This command creates the schedule for a job to run at 10:00 on the last Sunday of January and July.
|