Find-VBRADEntity

Short Description

Looks for Active Directory objects.

Applies to

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

Syntax

This cmdlet provides parameter sets that allow you to:

  • Get all Active Directory objects.

Find-VBRADEntity -Domain <VBRADDomain> [-Root <VBRADEntity>] [-Recurse]  [<CommonParameters>]

  • Get Active Directory objects by ID.

Find-VBRADEntity -Domain <VBRADDomain> [-Id <guid[]>] [-Root <VBRADEntity>] [-Recurse]  [<CommonParameters>]

  • Get Active Directory objects by name.

Find-VBRADEntity -Domain <VBRADDomain> [-Name <string[]>] [-Root <VBRADEntity>] [-Recurse]  [<CommonParameters>]

  • Get Active Directory objects of a specified type.

Find-VBRADEntity -Domain <VBRADDomain> [-Type <VBRADEntityType[]> {Domain | Cluster | OrganizationUnit | Group | Folder | Computer}] [-Root <VBRADEntity>] [-Recurse]  [<CommonParameters>]

Detailed Description

This cmdlet looks for Active Directory objects.

You can use this cmdlet to search for Active Directory objects you plan to add to the scope of a protection group.

Parameters

Parameter

Description

Type

Required

Position

Accept
Pipeline
Input

Domain

Specifies the Active Directory domain connection object.

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

True

Named

True (ByValue,
ByProperty
Name)

Id

Specifies the array of object IDs. The cmdlet will return objects with these IDs.

Guid[]

False

Named

True (ByProperty
Name)

Name

Specifies the array of object names. The cmdlet will return objects with these names.

String[]

False

Named

True (ByProperty
Name)

Type

Specifies the array of object types:

  • Domain
  • Cluster
  • OrganizationUnit
  • Group
  • Folder
  • Computer

The cmdlet will return objects of these types.

VBRADEntityType[]

False

Named

True (ByProperty
Name)

Root

Specifies the container of objects. The cmdlet will look for objects in this container.

If omitted, the cmdlet will look for objects in the domain container.

Accepts the VBRADEntity object. To get this object, run the Find-VBRADEntity cmdlet.

False

Named

True (ByProperty
Name)

Recurse

Defines that the cmdlet will look for objects from all child containers of the specified container.

SwitchParameter

False

Named

True (ByProperty
Name)

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Output Object

VBRADEntity

Examples

Find-VBRADEntityExample 1. Getting All Active Directory Objects

Find-VBRADEntityExample 2. Getting Active Directory Objects by Name

Find-VBRADEntityExample 3. Getting Active Directory Objects from Container

Find-VBRADEntityExample 4. Getting Active Directory Objects by Type

Find-VBRADEntityExample 5. Getting Active Directory Objects by ID

Find-VBRADEntityExample 6. Getting Active Directory Object using Veeam PowerShell and Microsoft Active Directory Windows PowerShell

Related Commands

Get-VBRADDomain

Page updated 3/6/2024

Page content applies to build 12.3.1.1139