rem Script to automate removing a user from a gruop rem First, change "Test_Company_M8R_Users" to the group name the user should be removed from rem Second, change the "Test User 3" to the common name of the user rem Third, edit the OU=Test_Company_M8R for both DNs to the company you need rem Modify the Task Scheduler to run it on the schedule you need rem Note, must be run as a domain admin for this to work rem Author - Matt Ramirez dsmod group "CN=Test_Company_M8R_Users,OU=Groups,OU=Test_Company_M8R,OU=Companies,DC=odqad,DC=com" -rmmbr "CN=Test User 3,OU=Users,OU=Test_Company_M8R,OU=Companies,DC=odqad,DC=com"