Editing File/Folder Permissions in PowerShell

Hi all,

I need to check if a group has full access to a folder and if not add them, with inheritance to all sub folders. The only thing ive found is to use Get-ACL and Set-ACL but it then goes into .NET to do the real work. With Posh 3 is there a new easier way?

Thanks for any input.


The acl handling out of the box in powershell is… not great. It does take a little bit of extra work to make it do what you want. If you are happy to run a module i have occasionally used NTFSsecurity which is very highly rated on technet. You can use get-effectiveaccess to see if the group has access and if not then add-access.

Thanks Matt,

looks very interesting…