Retrieves Active Directory objects from One Identity Manager and QAM tables: ADSAccount, ADSGroup, ADSOtherSID, QAMLocalUser, and QAMLocalGroup.
Syntax:
Get-QADAccount [-Name] [<String>]] [-Domain] [<String>]] [<CommonParameters>]
| Parameter | Description | 
|---|---|
| Name | 
 (Optional) Specify the name of the Active Directory object to be retrieved. If this parameter is not specified, all Active Directory objects are retrieved.  | 
| Domain | 
 (Optional) Specify the domain to be queried to locate the Active Directory objects. If this parameter is not specified, all domains are included in the query.  | 
Examples:
| Example | Description | 
|---|---|
| Get-QADAccount | Retrieves information for all Active Directory objects on all domains in your Data Governance Edition deployment. | 
| Get-QADAccount -Name Administrator -Domain MyDomain | 
 Retrieves Active Directory information for account Administrator in domain MyDomain.  | 
Details retrieved:
| Detail | Description | 
|---|---|
| DomainInfo | 
 DomainInfo is an array that can be expanded to display the following information about the domain the account belongs to: 
  | 
| AccountSid | The security identifier (SID) assigned to the Active Directory account. | 
| SamAccountName | If available, the login name for the account. | 
| DistinquishedName | The distinguished name of the Active Directory account. | 
| Name | The display name of the Active Directory account. | 
| AccountType | The type of account. | 
| ErrorMessage | If available, error messages associated with the Active Directory account. |