Set-Acl - Powershell 1.0 CmdLet
ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »
Set-Acl
Description Set permissions Usage Options Example(s) Copy the security settings from Dog.txt to Cat.txt PS C:\>$DogACL = get-acl c:\dog.txt PS C:\>set-acl -path C:\cat.txt -AclObject $DogACL Or the same thing with a pipeline: PS C:\>get-acl c:\dog.txt | set-acl -path C:\cat.txt Apply the same $DogACL to all the files in C:\Temp\ and all of its subdirectories: PS C:\>get-childitem c:\temp -recurse -force | set-acl -aclobject $DogACL -whatif