Managing File System Access Control Lists (Powershell)
Today I had to copy the permissions from one folder to another folder. Instead of doing this manually, I tried to do it with Powershell.
And I succeeded...
Here are my experiences with it....
Obtaining the ACL for files and folders:
get-acl <folder> | fl
Copy file and folder permissions:
get-acl <sourcefolder> | Set-Acl <targetfolder>