I'm working on organizing my companies folder permissions. We have a set of folders that we create for each of our Products, that has 5 sub folders under it. Something like the following below. I am looking for a script I can run to apply group permissions to each folder. Each subfolder has its own set of user groups and permissions. Does anyone know of such a script that is easily modified to match my groups and folder structure.

Products Folder
----Folder 1
----Folder 2
----Folder 3
----Folder 4

Thanks for your help.