Help Center
Choose product document...
Veeam Backup & Replication 9.5
PowerShell Reference

New-VBRMonthlyOptions

Short Description

Creates a new VBRMonthlyOptions object.

Applies to

Platform: VMware, Hyper-V

Product Edition: Standard, Enterprise, Enterprise Plus

Syntax

New-VBRMonthlyOptions [-Period <TimeSpan>] [-DayNumberInMonth <VBRDayNumberInMonth>] [-DayOfWeek <DayOfWeek>] [-Months <VBRMonth[]>] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]

Detailed Description

This cmdlet creates an object containing job monthly schedule settings. You can use this object to set job schedule.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Period

Specifies the time when the job will start.

Default: 22:00.

False

Named

False

False

Day
Number
InMonth

Specifies the number of day in month (for example, Saturday):

  • First: the job will run on the first (Saturday) of selected months.
  • Second: the job will run on the second (Saturday) of selected months.
  • Third: the job will run on the third (Saturday) of selected months.
  • Forth: the job will run on the forth (Saturday) of selected months.
  • Last: the job will run on the last (Saturday) of selected months.

Default: Forth.

False

Named

False

False

Day
OfWeek

Specifies the week day for the DayNumberInMonth parameter.

Default: Saturday.

False

Named

False

False

Months

Specifies the months on which the job will run: January, February, March, April, May, June, July, August, September, October, November, December.

Default: all months.

False

Named

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 creates the schedule for a job to run on 23:00 on the second Wednesday every month.

PS C:\PS> New-VBRMonthlyOptions -DayNumberInMonth Second -DayOfWeek Wednesday -Period 23:00

Example 2

This command creates the schedule for a job to run on 10:00 on the last Sunday of January and July.

PS C:\PS> New-VBRMonthlyOptions -DayNumberInMonth Last -DayOfWeek Sunday -Period 10:00 -Months January, July

Return Type

VBRMonthlyOptions

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Backup Explorers User Guide

PowerShell Reference

RESTful API Reference

Veeam Backup FREE Edition User Guide

Veeam Backup for Microsoft Office 365

Veeam ONE Documentation

Veeam Endpoint Backup Documentation

Veeam Management Pack Documentation