Setting file ACLs with PowerShell part 5
In my previous post in this series, I showed how easy it is to work with enumerations in PowerShell. Here's the code I've been walking through in this series
dacl = (dir foo.txt).GetAccessControl
newRule = New-Object Security.AccessControl.FileSystemAccessRule "keith", Modify, Allow
modified = $false
dacl.ModifyAccessRule("Add", $newRule,...





