Get-VESQLRestoreSession

Short Description

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

Applies to

Veeam Backup & Replication

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

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.

Note

  • You can only get an array of restore sessions that are started in PowerShell. The cmdlet does not return restore sessions started in the Veeam Backup & Replication console.
  • The cmdlet only returns an array of restore sessions started within the same PowerShell session.

Parameters

<CommonParameters>

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

Output Object

The cmdlet returns the VESQLRestoreSession[] array 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

Page updated 1/30/2025

Page content applies to build 12.3.1.1139