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

Get-VESQLRestoreSession

Short Description

Returns active restore sessions started to perform operations with backed-up Microsoft SQL databases.

Applies to Veeam Backup & Replication

Product Edition: Community, Standard, Enterprise, Enterprise Plus

Syntax

Get-VESQLRestoreSession  [<CommonParameters>]

Detailed Description

This cmdlet returns an array of active restore sessions started to perform operations with backed-up Microsoft SQL databases.

Get-VESQLRestoreSession Note:

The cmdlet returns restore sessions initiated in the PowerShell console only. The cmdlet does not return restore sessions running in the Veeam Backup & Replication console.

<CommonParameters>

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

Output Object

The cmdlet returns the VESQLRestoreSession object that contains settings of restore sessions started to explore backed-up Microsoft SQL databases and to perform operations with these databases.

Examples

Get-VESQLRestoreSessionExample 1. Getting all Running Restore Sessions

Get-VESQLRestoreSessionExample 2. Getting Specific Restore Session