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 |
|---|---|---|---|---|---|
|
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, |
|
Id |
Specifies the array of object IDs. The cmdlet will return objects with these IDs. |
Guid[] |
False |
Named |
True (ByProperty |
|
Name |
Specifies the array of object names. The cmdlet will return objects with these names. |
String[] |
False |
Named |
True (ByProperty |
|
Type |
Specifies the array of object types:
The cmdlet will return objects of these types. |
VBRADEntityType[] |
False |
Named |
True (ByProperty |
|
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 |
|
Recurse |
Defines that the cmdlet will look for objects from all child containers of the specified container. |
SwitchParameter |
False |
Named |
True (ByProperty |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
Examples
Example 1. Getting All Active Directory Objects
|
This example shows how to get all Active Directory objects.
Perform the following steps:
|
Example 2. Getting Active Directory Objects by Name
|
This example shows how to get Active Directory objects with names containing account.
Perform the following steps:
|
Example 3. Getting Active Directory Objects from Container
|
This example shows how to get Active Directory objects from the Accounts container.
Perform the following steps:
|
Example 4. Getting Active Directory Objects by Type
|
This example shows how to get all Active Directory objects of the OrganizationUnit type.
Perform the following steps:
|
Example 5. Getting Active Directory Objects by ID
|
This example shows how to get Active Directory objects by ID.
Perform the following steps:
|
Example 6. Getting Active Directory Object using Veeam PowerShell and Microsoft Active Directory Windows PowerShell
|
This example shows how to get an Active Directory object using both Veeam PowerShell and Microsoft Active Directory Windows PowerShell cmdlets.
Perform the following steps:
|
Related Commands