Help Center
Choose product document...
Veeam Backup & Replication 9.5
PowerShell Reference

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

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

Instant
Recovery

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

PS C:\PS> Get-VBRInstantRecovery | Select -Last 1 | Restart-VBRInstantRecovery

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.

PS C:\PS> Restart-VBRInstantRecovery -InstantRecovery $"Recovery Session"

Related Commands

Get-VBRInstantRecovery

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Backup Explorers User Guide

PowerShell Reference

RESTful API Reference

Veeam Backup FREE Edition User Guide

Veeam Backup for Microsoft Office 365

Veeam ONE Documentation

Veeam Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation