How do I create a script to move certain users from our GPO Exempt OU to their regular OUs at the end of each day?
Posted on 2006-04-13
OK, I don't know much about scripting, but I was wondering if my task is possible, and if so, how would I do it? Is writing a script for it the best way, or is there another way? What I need to do is make sure that any users that were moved into the GPO Exempt OU during the course of the day (we move users into that OU when we're working on their computer or software issues and we want to make sure group policy settings don't get in the way - ideally, the users are moved back into their regular OUs when we're done with them, but not all admins at my organization remember to do so all the time) are moved back into their regular OUs at the end of each day (at a determined time), making them once again subject to GPOs applied to those OUs.
Does anyone have any ideas how to do this? Thanks in advance for your help!