Hi – i'm afraid I have very little Powershell experience and so am after a bit of help in setting up a script with will hopefully save me a weekend of work.

Basically I need to alter multiple security groups on around 2000 folders. The groups all need to have the same permissions which are 'Traverse, List Folder, Read Attributes, Read extended attributes and Read permissions' the permissions also also need to be set only to the folder on which they are applied. So in the GUI I would set Apply To: This folder only. Whilst all groups are named differently, they all have a constant which is that they end with '-T'.

So for example on a directory f:\Projects, I would need to identify all subfolders containing groups ending with '-T' and modify the permissions on these groups as stated above.

Do you think this is possible? Or am I being overly optimistic? Any help would be greatly appreciated as it would potentially save me many hours.

Thanks Shayne

by coderaven at 2012-09-12 05:12:21

In the list of permissions you are trying to set it sounds like "ReadAndExecute"