I want to create a powershell script that can look at the department that a user has in the Organization tab of AD and then move the computer to a correct OU.
I am new to Powershell and not sure if this could be done but my basis to set this out would be to have a text file that has the department names and then next to it have the OU for that department.
Is this possible?