Resolution
Can the Directory and Resource Administrator CLI display contacts and computers when displaying group membership?
fact
Directory and Resource Administrator 6.50
fact
Directory and Resource Administrator 6.60
fix
The Directory and Resource Administrator CLI was never intended to handle computers and contacts. The entire intent of the CLI was to be backwards compatible with the EA CLI which only supported users and group operations, however due to customer requests, you can now list the computer account group members and contact groupmemberships starting in DRA 6.6. In DRA 6.6 you can now use the @GroupMembers and @GroupMembersR special functions to return contacts and computers group membership by using the following command:
EA account @groupmembers(groupname) display
In DRA 6.5 and below, you can add and remove a computer from a group via the cli, however you can not list computers as far as group membership is concerned. For information on Adding/Removing Computers from a group see:
Can I add\remove computer accounts from a group in Active Directory using the Command Line Interface for Directory and Resource Administrator?
https://www.netiq.com/kb/esupport/consumer/esupport.asp?id=NETIQKB307
For DRA version 6.5 and prior, you can display the group membership include computers and contacts using either:
- User the DRA ADSI provider to gather this information. There is an example script under the ADSI & CLI scripts section on our knowledge Depot that returns a group and its membership at:
https://www.netiq.com/support/dra/extended/knowledgedepot/default.asp - Use the DRA Reporting tool Groups and Members report to generate the report.