Get-VEADContainer

Short Description

Returns backed-up Active Directory containers.

Applies to

Veeam Backup & Replication

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

Syntax

This cmdlet provides parameter sets that allow you to:

  • Get Active Directory containers in a domain.

Get-VEADContainer [-Domain] <VEADDomain> [[-Name] <String>] [[-Id] <Guid>] [-Recurse] [[-Type] <VEADContainerType>] [<CommonParameters>]

  • Get Active Directory containers added to a parent container.

Get-VEADContainer [-Container] <VEADContainer> [[-Name] <String>] [[-Id] <Guid>] [-Recurse] [[-Type] <VEADContainerType>] [<CommonParameters>]

Detailed Description

This cmdlet returns an array of backed-up Active Directory containers. Use this object to restore Active Directory data.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

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)

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

2

False

Type

Specifies the type of Active Directory container that you want to get. You can specify one of the following types:

  • UsersAndComputers
  • GroupPolicyObjects
  • IntegratedDNS
  • ConfigurationPartition
  • DfsConfiguration

VEADContainerType

False

3

False

Recurse

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

SwitchParameter

False

Named

False

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

Examples

Get-VEADContainerExample 1. Getting Active Directory Containers from Domain

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

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

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

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

Get-VEADContainerExample 6. Getting Active Directory Container with Specific ID from Parent Container

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

Related Commands

Page updated 3/6/2025

Page content applies to build 12.3.1.1139