Restart-VBRInstantRecovery
Short Description
Restarts a failed Hyper-V Instant Recovery session.
Applies to
Platform: Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus
Syntax
Restart-VBRInstantRecovery [-InstantRecovery] <InstantRecovery[]> [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>] |
Related Commands
Detailed Description
This cmdlet restarts a failed Hyper-V Instant Recovery session started with Start-VBRHvInstantRecovery.
Run Get-VBRInstantRecovery to get the status of the Instant Recovery session.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
Instant | Specifies the instant recovery session you want to restart. You can assign multiple instant recovery sessions to this object. | True | 1 | True (ByValue, | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.
Example 1
This command restarts the last instant recovery session. The needed session object is obtained with Get-VBRInstantRecovery, selected by order and piped down.
Example 2
This command restarts the instant recovery session represented by the $"Recovery Session" variable. The needed session object is obtained with Get-VBRInstantRecovery and assigned to the variable beforehand.