Set-VBRFailbackSwitchingSchedule

In this article

    Short Description

    Modifies the failback switching schedule.

    Applies to

    Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

    Syntax

    Set-VBRFailbackSwitchingSchedule -SwitchingSchedule <VBRFailbackSwitchingSchedule> -Replica <VBRvCDReplica> [<CommonParameters>]

    Detailed Description

    This cmdlet modifies the failback switching schedule.

    Parameters

    Parameter

    Description

    Type

    Required

    Position

    Accept Pipeline Input

    SwitchingSchedule

    Specifies the failback switching schedule that you want to modify.

    Accepts the VBRFailbackSwitchingSchedule object. To create this object, run the Get-VBRFailbackSwitchingSchedule cmdlet.

    True

    Named

    True (ByValue, ByPropertyName

    Replica

    Specifies a CDP replica that failback switching schedule you want to modify

    Accepts the VBRCDPReplica object. To create this object, run the Get-VBRCDPReplica cmdlet.

    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.

    Output Object

    This cmdlet defines the VBRFailbackSwitchingSchedule object that defines the failback switching schedule settings

    Examples

    Getting Failback Switching Schedule

    This example shows how to get a failback switching schedule of the Win05_replicant CDP replica.

    $replica = Get-VBRCDPReplica -Name "Win05_replicant"

    $schedule = Get-VBRFailbackSwitchingSchedule -Replica $replica

    Set-VBRFailbackSwitchingSchedule -SwitchingSchedule $schedule -Replica $replica

    Perform the following steps:

    1. Run the Get-VBRCDPReplica cmdlet. Specify the Name parameter value. Save the result to the $replica variable.
    2. Run the Get-VBRFailbackSwitchingSchedule cmdlet. Save the result to the $replica variable.
    3. Run the Set-VBRFailbackSwitchingSchedule cmdlet. Set the $replica variable as the Replica parameter.

    Related Commands