Restart-VBRInstantRecovery

Short Description

Restarts a failed Hyper-V Instant Recovery session.

Platform: Hyper-V

Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Restart-VBRInstantRecovery [-InstantRecovery] <InstantRecovery[]> [-ForceArchivedSnapshotsRestore] [<CommonParameters>]

Detailed Description

This cmdlet restarts a failed Hyper-V Instant Recovery session started with the Start-VBRHvInstantRecoveryStarts Hyper-V Instant Recovery. cmdlet.

Run the Get-VBRInstantRecoveryReturns running Instant Recovery sessions. cmdlet to get the status of the Instant Recovery session.

Parameters

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

ForceArchivedSnapshotsRestore

Defines that the cmdlet will use archive snapshots for restore without showing warnings in the PowerShell console.

SwitchParameter

False

Named

False

InstantRecovery

Specifies the array of the instant recovery sessions. The cmdlet will restart these sessions.

Accepts the InstantRecovery[] object. To get this object, run theGet-VBRInstantRecoveryReturns running Instant Recovery sessions. cmdlet.

InstantRecovery[]

True

0

True (ByPropertyName, ByValue)

<CommonParameters>

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

Examples

Restart-VBRInstantRecoveryExample 1. Restarting Last Instant Recovery Session [Using Pipeline]

This command restarts the last instant recovery session.

Get-VBRInstantRecovery | Select -Last 1 | Restart-VBRInstantRecovery

Perform the following steps:

  1. Run the Get-VBRInstantRecoveryReturns running Instant Recovery sessions. cmdlet. Select the last instant recovery session.
  2. Pipe the cmdlet output to the Restart-VBRInstantRecovery cmdlet.

Restart-VBRInstantRecoveryExample 2. Restarting Specific Instant Recovery Session [Using Variable]

This command restarts a specific instant recovery session.

$RecoverySession = Get-VBRInstantRecovery -Id "49664A5F-9C55-4A1F-8E6A-1CD5705A684B"

Restart-VBRInstantRecovery -InstantRecovery $RecoverySession

Perform the following steps:

  1. Run the Get-VBRInstantRecoveryReturns running Instant Recovery sessions. cmdlet. Specify the Id parameter value. Save the result to the $RecoverySession variable.
  2. Run the Restart-VBRInstantRecovery cmdlet. Set the $RecoverySession variable as the InstantRecovery parameter value.

Get-VBRInstantRecoveryReturns running Instant Recovery sessions.

Page updated 2026-08-19

Page content applies to build 13.1.1.18