Last active
July 12, 2022 02:08
-
-
Save Ambratolm/edfaebe7f97ff9a0cfed5f836fb3eddb to your computer and use it in GitHub Desktop.
Copy security permissions (access control lists or ACL) from a file or folder to another.
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
# Open PowerShell with Admin rights | |
Get-Acl -Path 'C:\Some\Path' | Set-Acl -Path 'C:\Some\Other\Path' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment