Move all accounts that are member of a certain group to the same OU
This script moves all accounts that are member of the group "MyGroup" in the OU "MyOU" to the OU "NewOu".
[Settings_Begin]
BatchSettings.Delimiter=TAB
BatchSettings.MarkerCol=4
BatchSettings.MarkersAutoRemove=Yes
BatchSettings.LogToFile=3
SET ADDomainPath=dc=com/dc=acme/dc=D2
SET ADGroupPath=%ADDomainPath%/ou=MyOu/cn=MyGroup
SET ADOUPath=%col3%
SET ADNewOUPath=%ADDomainPath%/ou=NewOu
[Settings_End]