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

Get-VBRRestoreSession

Short Description

Returns restore sessions.

Applies to

Platform: VMware, Hyper-V

Product Edition: Standard, Enterprise, Enterprise Plus

Syntax

Get-VBRRestoreSession [-Name <string[]>]  [<CommonParameters>]

-OR-

Get-VBRRestoreSession [-Id <guid[]>]  [<CommonParameters>]

Detailed Description

This cmdlet returns restore sessions stored in Veeam Backup & Replication database.

You can get the list of all restore sessions or get the restore sessions of a specific VM or VM(s).

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Name

Specifies the array of VM names. The cmdlet will return the restore sessions of these VMs.

False

Named

False

True

Id

Specifies the array of the restore sessions IDs. The cmdlet will return the restore sessions with these IDs.

False

Named

False

True

<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 looks for all restore sessions stored in the database.

Get-VBRRestoreSession

Example 2

This command looks for the restore sessions of the VMs named "Hv_DNS" and "Hv_DC".

Get-VBRRestoreSession -Name "Hv_DNS", "Hv_DC"