Export Folder and Sub folder permissions to CSV

Here is a quick powershell one liner commands to export the NTFS permissions for a root folders or with Sub folders. To export for a single Folder. Get-Childitem -path C:\MyFolder¬†| Where-Object {$_.PSIsContainer} | Get-ACL | Select-Object Path -ExpandProperty Access | Export-CSV C:\Temp\Ntfs_single.csv   Export command for a folder tree Get-Childitem -path¬†C:\MyFolder -recurse | Where-Object {$_.PSIsContainer} […]