
Hello,
I´m still writing on my "Create Network Shares and Security Groups Script
The Script Creates Security Groups in Active Directory based on Folder Names, Servername, ou ..ect.
Folder Sec Groups in AD
01_Test Server-OU-01-RO
Server-OU-01-RW
02_Service Server-OU-02-RO
Server-OU-02-RW
This part works well, thanks for your help so far.
What I´m trying to do next is, set this security Groups for each Folder on the Network Share (Folders are created)
So each Folder has two security Groups in Active Directory and I want to match them and set the acl.
My Problem is not the acl or inheritence thing. I dont know how to match them in a Loop (double Loop?)
say ...
foreach ($Folder in $Folders){match These two security Groups (only these two, not all of them) and set acl..}
Can you help me with this? Please let me know, if you Need more Information...
thanks in advance..
Thomas
The file so far..
(Please visit the site to view this media)