Set-VBRFailbackSwitchingSchedule

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.

Note

To modify settings, specify new values for the necessary parameters. The cmdlet will overwrite the previous parameters values with new values. The parameters that you omit will remain unchanged.

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 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 failback switching schedule of the CDP replica of the Win05 VM.

$replica = Get-VBRCDPReplica -Name "Win05"

$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