Set-VBRFailbackSwitchingSchedule
Short Description
Modifies the failback switching schedule.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Set-VBRFailbackSwitchingSchedule -SwitchingSchedule <VBRFailbackSwitchingSchedule> -Replica <VBRReplica> [<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 parameter values with new values. The parameters that you omit will remain unchanged. |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Replica |
Specifies a CDP replica that failback switching schedule you want to modify.
Accepts the |
True |
Named |
False |
|
|
SwitchingSchedule |
Specifies the failback switching schedule that you want to modify.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
<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:
- Run the
Get-VBRCDPReplicaReturns CDP replicas created by CDP policies including Cloud Director CDP policies, CDP policies, cloud CDP policies and so on. cmdlet. Specify theNameparameter value. Save the result to the$replicavariable. - Run the
Get-VBRFailbackSwitchingScheduleReturns the failback switching schedule. cmdlet. Set the$replicavariable as theReplicaparameter value. Save the result to the$schedulevariable. - Run the
Set-VBRFailbackSwitchingSchedulecmdlet. Set the$schedulevariable as theSwitchingScheduleparameter value. Set the$replicavariable as theReplicaparameter value.
Related Commands
Get-VBRCDPReplicaReturns CDP replicas created by CDP policies including Cloud Director CDP policies, CDP policies, cloud CDP policies and so on.Get-VBRFailbackSwitchingScheduleReturns the failback switching schedule.