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

Get-VEADContainer

Short Description

Returns backed-up Active Directory containers.

Syntax

This cmdlet provides parameter sets that allow you to:

  • Get all Active Directory containers in a domain.

Get-VEADContainer [-Domain] <VEADDomain> [[-Type] {UsersAndComputers | GroupPolicyObjects | IntegratedDNS |ConfigurationPartition}] [-Recurse]  [<CommonParameters>]

  • Get Active Directory containers added to a parent container.

Get-VEADContainer [-Container] <VEADContainer> [[-Type] {UsersAndComputers | GroupPolicyObjects | IntegratedDNS |ConfigurationPartition}] [-Recurse]  [<CommonParameters>]

Detailed Description

This cmdlet returns the VEADContainer object that contains an array of Active Directory containers. Use this object to restore Active Directory data.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Accept Wildcard Characters

Domain

Specifies an Active Directory domain. The cmdlet will return an array of containers that are available in this domain.

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

True

0

True (ByValue)

 

Container

Specifies a parent container. The cmdlet will return containers that are available in this parent container.

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

True

0

True (ByValue)

 

Type

Specifies a type of an Active Directory container that you want to get. You can specify either of the following type:

  • UsersAndComputers
  • GroupPolicyObjects
  • IntegratedDNS
  • ConfigurationPartition

VEADContainerType

False

1

False

 

Id

Specifies an ID of an Active Directory child container. The cmdlet will return the Active Directory child container with this ID.

Guid

False

1

False

 

Name

Specifies a name of an Active Directory child container. The cmdlet will return the Active Directory child container with this name.

String

False

1

False

 

Recurse

Indicates that the cmdlet will look for objects from all Active Directory child containers.

SwitchParamter

False

1

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 VEADContainer[] object that contains an array of Active Directory containers.

Examples

Get-VEADContainerExample 1. Getting Active Directory Containers from Domain

Get-VEADContainerExample 2. Getting Active Directory Container from Domain by Name

Get-VEADContainerExample 3. Getting Active Directory Container from Domain by ID

Get-VEADContainerExample 4. Getting Active Directory Containers from Parent Container

Get-VEADContainerExample 5. Getting Active Directory Containers from Parent Container by Name

Get-VEADContainerExample 6. Getting Active Directory Containers from Parent Container by ID

Get-VEADContainerExample 7. Getting Active Directory Containers of Specific Type

Related Commands