Start-VBRReplicaFailover (obsolete)

Short Description

Fails over a corrupted VM to its replica.

Note

This cmdlet is obsolete. The cmdlet still works, but it is recommended to rewrite your scripts using the Start-VBRViReplicaFailover cmdlet.

Applies to

Platform: VMware, Hyper-V

Syntax

Start-VBRReplicaFailover -RestorePoint <COib> [-Reason <String>] [-Planned] [-RunAsync] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [-WhatIf] [-Confirm]  [<CommonParameters>]

Detailed Description

This cmdlet allows you fail over a corrupted VM to its successfully created replica.

Performing failover is switching to a VM replica in case the original VM is damaged. You can fail over to the latest state of a replica or to any of its good known restore points.

Parameters

Parameter

Description

Type

Required

Position

Accept
Pipeline
Input

RestorePoint

Specifies the replica restore point to which you want to fail over.

Accepts the COib object. To get this object, run the Get-VBRRestorePoint cmdlet.

True

1

True (ByValue,
ByProperty
Name)

Reason

Specifies the reason for performing a failover.

String

False

Named

False

RunAsync

Defines that the command returns immediately without waiting for the task to complete.

SwitchParameter

False

Named

False

Planned

Performs planned failover.

SwitchParameter

False

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Examples

Start-VBRReplicaFailover (obsolete)Example 1. Failing Over to Latest Restore Point of Replica [Using Pipeline]

Start-VBRReplicaFailover (obsolete)Example 2. Failing Over to Specific Restore Point of Replica [Using Variable]

Related Commands

Get-VBRRestorePoint

Page updated 3/11/2024

Page content applies to build 12.3.1.1139