Changing Folder Contents Permissions with PowerShell

March 25th, 2021 by Kristy Leave a reply »

I found this awesome little script posted by Davidr4 in 2017 on spiceworks.com. You can change the permissions of a folders contents from power shell.

$newacl = get-acl "d:\09job\09001"

get-childitem "d:\09job\" |set-acl -aclobject $newacl

signature
Advertisement

Comments are closed.