Get-VEADDomain
Short Description
Returns a backed-up Active Directory domain.
Product: 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 |
|
True |
0 |
True (ByValue) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Learn.
Output Object
The cmdlet returns the VEADDomain object that contains a backed-up Active Directory domain.
Examples
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:
- Run the
Get-VEADRestoreSessionReturns active restore sessions started to perform operations with backed-up Microsoft Active Directory databases. In Veeam Backup & Replication 13.1, this cmdlet became deprecated. Use the Get-VEADRestoreSessionJob cmdlet to get a restore session. cmdlet. Save the result to the$sessionvariable.The cmdlet will return an array of active restore sessions. Note the ordinal number of the necessary restore session (in this example, it is the fourth restore session in the array).
- Run the
Get-VEADDomaincmdlet. Set the$sessionvariable as theSessionparameter value and select the necessary restore session.
Related Commands
Get-VEADRestoreSessionReturns active restore sessions started to perform operations with backed-up Microsoft Active Directory databases. In Veeam Backup & Replication 13.1, this cmdlet became deprecated. Use the Get-VEADRestoreSessionJob cmdlet to get a restore session.