Can I add\remove computer accounts from a group in Active Directory using the Command Line Interface (NETIQKB307)

  • 7700307
  • 02-Feb-2007
  • 19-Jun-2007

Resolution

goal
Can I add\remove computer accounts from a group in Active Directory using the Command Line Interface for Directory and Resource Administrator?

fact
Directory and Resource Administrator 6.x

fact
Directory and Resource Administrator 7.x

fix
Yes, computer accounts can now be added to or removed from a group in Active Directory using the command line interface for Directory and Resource Administrator. The above functionality was introduced with the release of Hotfix 1 for DRA 6.02 SP1 and is included in all subsequent releases.

Navigate to the directory to which DRA was installed.

To add computer accounts to a Windows 2000 group, use the following syntax:

    EA [/DOMAIN:domainname] [/SERVER:servername] GROUP [domainname\]group MEMBERADD [domainname\]computername$

To remove computer accounts to a Windows 2000 group, use the following syntax:

    EA [/DOMAIN:domainname] [/SERVER:servername] GROUP [domainname\]group MEMBEREMOVE [domainname\]computername$

NOTE: It is necessary to append a $ immediately following the computer name in the above syntax for the command to function properly.

Download the latest version of DRA:

    Download: Directory and Resource Administrator (requires a password)

To obtain Hotfix 1 for DRA 6.02 SP1 please contact NetIQ Technical Support.



Additional Information

Formerly known as NETIQKB307