This is an archive version of the document. To get the most up-to-date information, see the current version.

New-VBOBackupWindowSettings

Short Description

Creates a backup window.

Syntax

New-VBOBackupWindowSettings -FromDay <DayOfWeek> {Sunday | Monday | Tuesday | Wednesday | Thursday | Friday | Saturday} -FromHour <int32> -ToDay <DayOfWeek> {Sunday | Monday | Tuesday | Wednesday | Thursday | Friday | Saturday} -ToHour <int32> -Enabled  [<CommonParameters>]

Detailed Description

This cmdlet creates a backup window for a backup 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 job schedule settings.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Accept Wildcard Characters

FromDay

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

DayOfWeek

True

Named

False

False

FromHour

Specifies the hour on which the backup window opens.

Int32

True

Named

False

False

ToDay

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

DayOfWeek

True

Named

False

False

ToHour

Specifies the hour on which the backup window ends.

Int32

True

Named

False

False

Enabled

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

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

SwitchParameter

True

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.

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