This is an archive version of the document. To get the most up-to-date information, see the current version.

Start-VBRHvInstantRecoveryMigration

Short Description

Performs VM migration to a Hyper-V host.

Applies to

Platform: Hyper-V

Product Edition: Standard, Enterprise, Enterprise Plus

Syntax

Start-VBRHvInstantRecoveryMigration [-InstantRecovery] <InstantRecovery[]> [-WarningAction <ActionPreference>][-WarningVariable <String>] [<CommonParameters>]

Related Commands

Get-VBRInstantRecovery

Detailed Description

This cmdlet migrates a recovered VM to the production host. You finalize the instant recovery of the VM initiated with Start-VBRHvInstantRecovery by migrating the VM to production.

Run Stop-VBRInstantRecovery to terminate the recovery session by unpublishing the VM.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Instant
Recovery

Specifies the session(s) started with the Start-VBRHvInstantRecovery cmdlet to finalize migration of a recovered VM to a Hyper-V host.

You can assign multiple instant recovery sessions to this object.

True

1

True (ByValue,
ByProperty
Name)

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 finalizes the current instant recovery session. The session is obtained with Get-VBRInstantRecovery and piped down.

PS C:\PS> Get-VBRInstantRecovery | Start-VBRHvInstantRecoveryMigration

Example 2

This command finalizes the instant recovery session represented by the $"Hv Instant Recovery" variable. The session is obtained with Get-VBRInstantRecovery and assigned to the variable beforehand.

PS C:\PS> Start-VBRHvInstantRecoveryMigration -InstantRecovery $"Hv Instant Recovery"