Hi,
I need a script that will retrospectively create a sub-folder on file server's shared folder with following permissions:
- employee
- his/hers manager (taken from AD)
- specific security group(s)
- usual SYSTEM and local server Administrators security group as well, so that we have access for backups etc purposes. We can set a inheritable permissions for them (system etc) on top share level, but would be interested in confirming that internally in script as well.
There will be a shared folder with access-based enumeration enabledavailable to create them in. We'll get circa 200+ usernames we'll need to create and permission individual folder for, but then we will also need to incorporate similar script into normal AD user creation for future users and possibly for more pre-existing users that don't have them.
Thanks for any feedback.