Get-QManagedDomains
Retrieves information, including the service account and managed domain IDs, for a managed domain from the Data Governance Edition deployment.
Syntax:
Get-QManagedDomains [-ManagedDomainId [<String>]] [<CommonParameters>]
Table 141: Parameters
ManagedDomainId |
(Optional) Specify the ID (GUID format) of the managed domain to be retrieved. |
Examples:
Table 142: Examples
Get-QManagedDomains |
Returns all managed domains in the database. |
Get-QManagedDomains -ManagedDomainId 50905871-5379-455d-8b65-c4bd02360bdb |
Returns information on the specified managed domain. |
Details retrieved:
Table 143: Details retrieved
ManagedDomainID |
The value (GUID) assigned to the managed domain. (UID_ADSDomain) |
DomainDnsName |
The full DNS name of the managed domain. (ADSDomainName) |
ForestDnsName |
The full DNS name of the forest where the domain resides. (UID_ADSForest) |
Status |
The status of the managed host, based on all the agents monitoring the host. |
NetbiosName |
The Netbios name of the managed domain. |
DomainSid |
The security identifier (SID) assigned to the managed domain. |
ServiceAccountId |
The value (GUID) of the service account assigned to the managed domain. (UID_QAMServiceAccount) |
AccessGroupSid |
Deprecated. |
ServiceAccountInfo |
The name of the service account assigned to the managed domain. |
DomainControllerName |
The name of the domain controller hosting the managed domain. |
ExtendedRightsCreated |
Indicates whether extended rights were created by Data Governance Edition in the Active Directory environment. |
Remove-QManagedDomain
Removes a managed domain from the Data Governance Edition deployment.
Note: Remove all managed hosts associated with a managed domain BEFORE removing a managed domain. Run the Remove-QManagedHost cmdlet to remove a managed host.
Syntax:
Remove-QManagedDomain [-ManagedDomainId] <String> [<CommonParameters>]
Table 144: Parameters
ManagedDomainId |
Specify the ID (GUID format) of the managed domain to be removed.
Run the Get-QManagedDomains cmdlet without any parameters to retrieve a list of managed domains, including the managed domain ID. |
Examples:
Table 145: Examples
Remove-QManagedDomain -ManagedDomainId 830b1e48-c682-4d3e-965c-d96ee6db6262 |
Removes the specified managed domain from Data Governance Edition. |
Agent deployment
The following commands are available to you to manage your agent deployment. For full parameter details and examples, click a command hyperlink in the table or see the command help, using the Get-Help command.
Get-QAgentEvents
Retrieves saved events for the specified agent from the One Identity Manager database.
Agent events include information such as errors and warnings from the agent that are stored in the One Identity Manager database. Use this command to retrieve stored agent messages to the console or a text file to quickly identify issues.
Syntax:
Get-QAgentEvents [-AgentId] <String> [<CommonParameters>]
Table 147: Parameters
AgentId |
Specify the ID (GUID format) of the agent whose stored messages are to be retrieved.
Run the Get-QManagedHosts cmdlet and locate the agents array in the managed host to retrieve its ID. |
Examples:
Table 148: Examples
C:\PS>@{#cdata-section=Add-PSSnapin Quest.DataGovernance $hosts = Get-QManagedHosts $agents = $hosts[0].Agents $agentId = $agents[0].Id
Get-QAgentEvents -AgentId $agentId; xmlns:dev=http://schemas.microsoft.com/maml/dev/2004/10}
First run the Get-QManagedHosts command and access the agents collection for the selected managed host. Locate the agent ID, call Get-QAgentEvents, and pass the agent ID to the method. |
Returns all stored messages for the specified Data Governance agent. |
Details retrieved:
Table 149: Details retrieved
Date/Time |
The date and time the critical agent error occurred. |
Description |
The event message logged for the critical agent error. |