azstbzimms
asked on
Move user accounts from one OU to another OU based on characters within the user's "description" field.
We are attempting to organize our AD. I would like to move multiple user accounts from one OU to another OU based on characters within the user's "description" field. For example, search an OU and sub-OU's for all user accounts that have "accounting" in their description field and them move them to another specified OU. I have looked at the built in searches, however, I cannot get the search to only find the word "accounting" with disregard to any other information within the description field. Is there a script or tool that can easily accomplish this?
ASKER
It's not that simple. None of the descriptions are uniform and there are several OUs. Each description has the user's name as well as a departmental designator. So, if you sort by description, it is sorted alphabetically. We definitely need a queury or search that can pull all the people with a certain designator in their description field.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Select.jpg