How do I rename multiple groups using a batch file? (NETIQKB13520)

  • 7713520
  • 02-Feb-2007
  • 19-Jun-2007

Resolution

goal
How do I rename multiple groups using a batch file?

fact
Directory and Resource Administrator 6.x

fact
Directory and Resource Administrator 7.x

fix

To rename one group using the CLI, run the following command. 

  • EA GROUP groupname UPDATE NAME:new_samaccountname CN:new_fullname

To rename multiple groups, run the following command below.  The text file needs to be in the format:

old_groupname, new_group_name
old_groupname, new_group_name
old_groupname, new_group_name

For /f "tokens=1-2 Delims=," %1 in (c:\fully_qualified_filepath) DO EA GROUP  %1 UPDATE NAME:%2 CN:%2

 



Additional Information

Formerly known as NETIQKB13520