Need a script to create folders and permissions
Posted on 2012-08-20
Our Geography and Regional Planning department has several classes and sections. Previously, all of the students would have a general folder mapped for them via a GPO, and the professors would assign files, etc. The problem is that the students aren't following the procedures, and placing files everywhere, causing issues for both the professors and myself (finding lost files, etc).
So, I've created a new directory tree, and each student will have his/her own folder, with no access to any other folder other than the specific class folder.
Tree: Main shared folder -> General Student Folder -> Class Specific students folder -> Specific student folder
The idea script would take a student's name from a spreadsheet, create the folder, give the student specific modify rights, domain admins full control, professors read only rights.
I have seen other questions and answers for various scripts, but I'm not a programmer, and I don't know how to modify scripts to do what I want.
Thanks in advance.