Get-VEADDomain

Short Description

Returns a backed-up Active Directory domain.

Applies to

Veeam Backup & Replication

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

Syntax

Get-VEADDomain [-Session] <IVEADRestoreSession> [<CommonParameters>]

Detailed Description

This cmdlet will return a backed-up Active Directory domain.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Session

Specifies an active restore session. The cmdlet will return a backed-up Active Directory domain within the specified restore session.

Accepts the IVEADRestoreSession object. To get this object, run the Get-VEADRestoreSession cmdlet.

True

0

True (ByValue)

<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 VEADDomain object that contains an array of backed-up Active Directory domains.

Example

Getting Active Directory Domain Within Specified Restore Session

This example shows how to get an Active Directory domain within the specified restore session.

$session = Get-VEADRestoreSession

Get-VEADDomain -Session $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. Run the Get-VEADDomain cmdlet. Set the $session variable as the Session parameter value and select the necessary restore session.

Related Commands

Get-VEADRestoreSession

Page updated 9/29/2023

Page content applies to build 12.1.2.172