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

New-VBRDailyOptions

Short Description

Creates new job daily schedule settings.

Applies to

Platform: VMware, Hyper-V

Product Edition: Standard, Enterprise, Enterprise Plus

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
Pipeline
Input

Accept
Wildcard
Characters

Type

Specifies the job schedule type:

  • Everyday: the job will run every day.
  • WeekDays: the job will run Monday to Friday.
  • SelectedDays: the job will run on selected days. Use the DaysOfWeek parameter to set the days.

False

Named

False

False

Day
OfWeek

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 about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

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.

PS C:\PS> $fridayoptions = New-VBRDailyOptions -DayOfWeek Friday -Period 23:00

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.

PS C:\PS> $everydayoptions = New-VBRDailyOptions -Type Everyday -Period 20:00

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.

PS C:\PS> $weekendoptions = New-VBRDailyOptions -DayOfWeek Saturday, Sunday

Return Type

VBRDailyOptions

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 Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation