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

Set-VBRBackupWindowOptions

In this article

    Short Description

    Modifies the VBRBackupWindowOptions object.

    Applies to

    Platform: VMware, Hyper-V

    Product Edition: Standard, Enterprise, Enterprise Plus

    Syntax

    Set-VBRBackupWindowOptions -Options <VBRBackupWindowOptions> -FromDay <DayOfWeek> -FromHour <Int32> -ToDay <DayOfWeek> -ToHour <Int32> -Enabled [-PassThru] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]

    Related Commands

    None

    Return Type

    VBRBackupWindowOptions

    Detailed Description

    This cmdlet modifies the VBRBackupWindowOptions object that was created earlier. To modify settings, you need to enter the corresponding parameters with new values. The parameters that you omit will remain unchanged.

    Parameters

    Parameter

    Description

    Required

    Position

    Accept
    Pipeline
    Input

    Accept
    Wildcard
    Characters

    Options

    Specifies the VBRBackupWindowOptions you want to modify.

    True

    Named

    True (by Value
    FromPipeline, ValueFromPipeline
    ByPropertyName)

    False

    FromDay

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

    Accepts DayOfWeek enumeration.

    Default: Sunday.

    False

    Named

    False

    False

    FromHour

    Specifies the hour on which the backup window opens.

    Accepts int32 type.

    Default: 0.

    False

    Named

    False

    False

    ToDay

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

    Accepts DayOfWeek enumeration.

    Default: Saturday.

    False

    Named

    False

    False

    ToHour

    Specifies the hour on which the backup window ends.

    Accepts int32 type.

    Default: 23.

    False

    Named

    False

    False

    Enabled

    Indicates if this backup window is enabled or disabled.

    • TRUE: jobs are allowed to run within the specified interval.
    • FALSE: jobs are prohibited to run within the specified interval.

    Default: False.

    False

    Named

    False

    False

    PassThru

    Indicates that the command returns the output object to the Windows PowerShell console.

    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.