I need to add groups to folders where the group name gives a hint as to what folder it should be added so say I have a
folders and then
I know that I can do the testing with
And for the groups
Assuming the groups exist and the folders exist having a list of both in a txt file how do I go about adding the right group to the right folder?
I assume you mean "adding a group to the folder's ACL." Check out the Get-ACL and Set-ACL commands; natively, they're the only real way to manipulate ACLs.
Pretty much so. Thanks for the tip.
You must be logged in to reply to this topic.