Last active
January 11, 2022 02:36
-
-
Save jdgregson/b736079a9296b038620282c3831bfca5 to your computer and use it in GitHub Desktop.
Copy an ACL from one file to another in PowerShell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set-Acl -Path new.txt -AclObject (Get-Acl -Path old.txt) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment