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 |
Platform: VMware, Hyper-V
Syntax
|
Start-VBRReplicaFailover [-RestorePoint] <COib> [-Reason <String>] [-Planned] [-RunAsync] [-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 |
|---|---|---|---|---|---|
|
Planned |
Performs planned failover. |
|
False |
Named |
False |
|
Reason |
Specifies the reason for performing a failover. |
|
False |
Named |
False |
|
RestorePoint |
Specifies the replica restore point to which you want to fail over.
Accepts the |
|
True |
0 |
True (ByPropertyName, ByValue) |
|
RunAsync |
Defines that the command returns immediately without waiting for the task to complete. |
|
False |
Named |
False |
|
Confirm |
Defines that the cmdlet will display a prompt that asks if you want to continue running the command. |
|
False |
Named |
False |
|
WhatIf |
Defines that the cmdlet will write a message that describes the effects of running the cmdlet without actually performing any action. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Examples
Example 1. Failing Over to Latest Restore Point of Replica [Using Pipeline]
|
This example shows how to fail over to the
Perform the following steps:
|
Example 2. Failing Over to Specific Restore Point of Replica [Using Variable]
|
This example shows how to fail over to the
Perform the following steps:
|
Related Commands
Get-VBRRestorePointReturns restore points.