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>]

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 array of instant recovery sessions. The cmdlet will migrate the VMs recovered with these sessions to the Hyper-V host.

True

1

True (ByValue,
ByProperty
Name)

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

Example 1

This command finalizes the current instant recovery session. The session is obtained with Get-VBRInstantRecovery and piped down.

Get-VBRInstantRecovery | Start-VBRHvInstantRecoveryMigration

Example 2

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

Start-VBRHvInstantRecoveryMigration -InstantRecovery $HvInstantRecovery

Related Commands

Get-VBRInstantRecovery