Restart-VBRInstantRecovery

In this article

    Short Description

    Restarts a failed Hyper-V Instant Recovery session.

    Applies to

    Platform: Hyper-V

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

    Syntax

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

    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
    Pipeline
    Input

    Accept
    Wildcard
    Characters

    InstantRecovery

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

    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 restarts the last instant recovery session. The needed session object is obtained with Get-VBRInstantRecovery, selected by order and piped down.

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

    Example 2

    This command restarts the instant recovery session represented by the $RecoverySession variable. The needed session object is obtained with Get-VBRInstantRecovery and assigned to the variable beforehand.

    Restart-VBRInstantRecovery -InstantRecovery $RecoverySession

    Related Commands

    Get-VBRInstantRecovery