Get-VEADItem
Short Description
Returns backed-up Active Directory objects.
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 objects added to a specific container by the object ID or the object name.
Get-VEADItem [[-Name] <String>] [-Container] <VEADContainer> [-Recurse <SwitchParameter>] [[-Id] <Guid>] [<CommonParameters>] |
- Get Active Directory objects added to a specific container by an LDAP query.
Get-VEADItem [-Container] <VEADContainer> [-LDAPQuery] <String> [<CommonParameters>] |
- Get Active Directory objects added to a specific domain by an LDAP query.
Get-VEADItem [-Domain] <VEADDomain> [-LDAPQuery] <String> [<CommonParameters>]>] |
Detailed Description
This cmdlet returns backed-up Active Directory objects.
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
Container | Specifies an Active Directory container. The cmdlet will return an array of objects added to this container. | Accepts the VEADContainer object. To get this object, run the Get-VEADContainer cmdlet. | True | 0 | True (ByValue) |
Domain | Specifies an Active Directory domain. The cmdlet will return an array of objects added to this domain. | Accepts the VEADDomain object. To get this object, run the Get-VEADDomain cmdlet. | True | 0 | True (ByValue) |
LDAPQuery | Specifies an LDAP search query. The cmdlet will return Active Directory objects according to this query. | String | True | 1 | False |
Id | Specifies an ID of an Active Directory object. The cmdlet will return Active Directory objects with the specified ID. | Guid | False | 1 | False |
Name | Specifies a name of an Active Directory object. The cmdlet will return objects with the specified name. | String | False | 2 | False |
Recurse | Defines that the cmdlet will return Active Directory objects with their child objects. For example, a Computer object can contain Shared Folder and Printer objects. | SwitchParameter | False | 3 | 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 VEADItem[] object that contains an array of Active Directory objects.
Examples
Example 1. Getting All Active Directory Objects from Specific Container
This example shows how to get all Active Directory objects from a specific parent container.
Perform the following steps:
The cmdlet will return an array of active restore sessions. Note the ordinal number of the necessary restore session (in our example, it is the fourth restore session in the array).
|
Example 2. Getting Active Directory Object with Specific ID from Specific Container
This example shows how to get an Active Directory object with a specific ID from a specific Active Directory container.
Perform the following steps:
The cmdlet will return an array of active restore sessions. Note the ordinal number of the necessary restore session (in our example, it is the fourth restore session in the array).
|
Example 3. Getting All Active Directory Objects with Specific Name from Specific Child Container
This example shows how to get all Active Directory objects with a specific name from an Active Directory child container.
Perform the following steps:
The cmdlet will return an array of active restore sessions. Note the ordinal number of the necessary restore session (in our example, it is the fourth restore session in the array).
|
Example 4. Getting Active Directory Objects from Specific Container with LDAP Query
This example shows how to use an LDAP query to get an Active Directory object from a specific Active Directory container.
Perform the following steps:
The cmdlet will return an array of active restore sessions. Note the ordinal number of the necessary restore session (in our example, it is the fourth restore session in the array).
|
Example 5. Getting Active Directory Objects from Specific Domain with LDAP Query
This example shows how to use an LDAP query to get an Active Directory object from a specific domain.
Perform the following steps:
The cmdlet will return an array of active restore sessions. Note the ordinal number of the necessary restore session (in our example, it is the fourth restore session in the array).
|
Related Commands