
set-acl
List of commands for set-acl:
-
set-acl:tldr:5ebca set-acl: Copy a security descriptor from one file to another.$ $OriginAcl = Get-Acl -Path ${path\to\file}; Set-Acl -Path ${path\to\file} -AclObject $OriginAcltry on your machineexplain this command
-
set-acl:tldr:b132e set-acl: Use the pipeline operator to pass a descriptor.$ Get-Acl -Path ${path\to\file} | Set-Acl -Path ${path\to\file}try on your machineexplain this command