Hi All.
I have been working a few hours now trying to make the following script that would work like this:
You type in a path for a folder on the network.
It would read the name of the folder to a variable.Also make a variable of a certain part of the path. (sitecode)
Then make 2 security groups from said variables. Ie. Sitecode_FS_Foldername_R and _W
Then set the _R group for Read permissions and the _w For Write permissions.
But when i use the Set-ACL command line. it always makes Special permissions instead of the normal easy to view rights.
How to solve this?