Tuesday, November 3, 2015

Recursively Change Permissions to a Folder Structure

There is no recursion option to Set-ACL in PowerShell, so do this:

Get-ChildItem "C:\Temp" -Recurse -Force|Set-ACL -ACLObject $MyACL

Cheers!

No comments:

Post a Comment