There is a new free PowerShell module available called “PowerShellAccessControl” which helps you deal with NTFS security descriptors. It is a script module with lots of useful PowerShell code inside and requires PowerShell 3.0:
To use it, follow these steps:
- Download the ZIP file
- Right-click the ZIP file, choose “Properties” and unblock the downloaded file
- Unpack the ZIP file
- Inside of it, you find the folder “PowerShellAccessControl”. That’s the module. Move it into one of your modules folder.
The paths of your module folders can be found out like this:
$env:PSModulePath -split ';'