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

Get-VEADADContainer

Short Description

This cmdlet returns Active Directory containers that are available on the target server.

Syntax

Get-VEADADContainer -Server <string> -Credential <pscredential> [-UseSSL] [-Id <guid>] [-Name <string>][<CommonParameters>]

Detailed Description

This cmdlet returns an array of Active Directory containers that are available on the target server. You can restore Active Directory objects to these containers.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Accept Wildcard Characters

Server

Specifies a name or an IP address of the target server. Veeam Explorer for Microsoft Active Directory will restore Active Directory objects to the specified server.

String

True

Named

False

 

Credential

Specifies credential records that Veeam Explorer for Microsoft Active Directory will use to connect to an LDAP server.

Accepts the PSCredential object. To get this object, run the Get-Credential cmdlet.

True

Named

False

 

UseSSL

Defines that Veeam Explorer for Microsoft Active Directory will establish a secure SSL connection to the target server.

If you provide this parameter, Veeam Explorer for Microsoft Active Directory will connect over SSL to the target server. Otherwise, Veeam Explorer for Microsoft Active Directory will connect to the target server using a non-secure connection.

Switch

False

Named

False

 

Id

Specifies an ID of the container. Veeam Explorer for Microsoft Active Directory will get the container with the specified ID.

Guid

False

Named

False

 

Name

Specifies a name of the container. Veeam Explorer for Microsoft Active Directory will get the container with the specified name.

String

False

Named

False

 

<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 VEADADContainer object that contains an array of Active Directory containers available on the target server.

Examples

Get-VEADADContainerExample 1. Getting All Containers from Target Server

Get-VEADADContainerExample 2. Getting Specific Container from Target Server by Container ID

Get-VEADADContainerExample 3. Getting Specific Container from Target Server by Container Name

Related Commands

Get-Credential