New-VBOBackupWindowSettings

Short Description

Creates a backup window.

Syntax

New-VBOBackupWindowSettings -FromDay <DayOfWeek> -FromHour <Int32> -ToDay <DayOfWeek> -ToHour <Int32> [-Enabled] [<CommonParameters>]

Detailed Description

This cmdlet creates a backup window for a backup job or a backup copy job. The backup window sets a time period within which the job must be completed.

You can use a backup window object when creating or modifying backup or backup copy job schedule settings.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

FromDay

Specifies the day of the week on which the backup window opens.

DayOfWeek

True

Named

False

FromHour

Specifies the hour on which the backup window opens.

Int32

True

Named

False

ToDay

Specifies the day of the week on which the backup window ends.

DayOfWeek

True

Named

False

ToHour

Specifies the hour on which the backup window ends.

Int32

True

Named

False

Enabled

Defines that the cmdlet will create a backup window with allowed backup hours.

Default: False

If this parameter is set to false, the cmdlet will create a backup window with prohibited backup hours.

SwitchParameter

True

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

Examples

New-VBOBackupWindowSettingsExample 1. Creating Backup Window with Allowed Hours

New-VBOBackupWindowSettingsExample 2. Creating Backup Window with Prohibited Hours

New-VBOBackupWindowSettingsExample 3. Adding New Backup Window to Existing Backup Job Schedule

Related Commands

Page updated 4/30/2024

Page content applies to build 8.1.1.159