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

Get-VEADDomain

Short Description

Returns backed-up Active Directory domains.

Syntax

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

Detailed Description

This cmdlet will return backed-up Active Directory domains.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Accept Wildcard Characters

Session

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

Accepts the 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 Common Parameters section of Microsoft Docs.

Output Object

The cmdlet returns the VEADDomain object that contains an array of backed-up Active Directory domains.

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:

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

The Get-VEADRestoreSession cmdlet will return an array of active restore sessions. Mind 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.

Related Commands

Get-VEADRestoreSession