Get-VEADRestoreSession

Short Description

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

Applies to

Veeam Backup & Replication

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

Syntax

Get-VEADRestoreSession [<CommonParameters>]

Detailed Description

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

Get-VEADRestoreSession 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 VEADRestoreSession[] object that contains settings of restore sessions started to explore backed-up Microsoft Active Directory data and to perform operations with this data.

Examples

Get-VEADRestoreSessionExample 1. Getting all Running Restore Sessions

This command gets all running restore sessions started to perform operations with Microsoft Active Directory databases. Save the result to the $session variable to be able to use it with other cmdlets.

$session = Get-VEADRestoreSession

Get-VEADRestoreSessionExample 2. Getting Specific Restore Session

This example shows how to get a specific restore session started to perform operations with Microsoft Active Directory databases:

$session = Get-VEADRestoreSession

$session[3]

Perform the following steps:

  1. Run the Get-VEADRestoreSession cmdlet. Save the result to the $session variable.

The cmdlet will return an array of active restore sessions. Note the ordinal number of the necessary restore session (in our example, it is the fourth restore session in the array).

  1. Specify the necessary ordinal number of the restore session for the $session variable. In our example, it is the fourth restore session in the array.

Page updated 3/8/2024

Page content applies to build 12.3.0.310