I have a CSV file contains user's login ID and location information. I need to move users to the correct OU based on the location info
CSV example:
Name location
JSMITH US
MGATES EU
JLEE AP
If location is US move user to OU=US,DC=test,DC=com
If location is EU move user to OU=EU,DC=test,DC=com
If location is AP move user to OU=AP,DC=test,DC-=com
any suggestions?
Thanks,