21 novembre 2010
How to Handle NTFS Folder Permissions, Security Descriptors and ACLs in PowerShell
1. Overview Some time ago, I was automating a few tasks with PowerShell and needed to set NTFS permissions on a folder. I was tempted to use the good old ICACLS.EXE command line, but I wanted to keep it all within PowerShell. While there are a number...