Enumerate
File Permissions
Get-Acl -Path <FilePathOrDirectory> | Format-ListGet-Acl -Path <FilePathOrDirectory> | Select-Object -ExpandProperty AccessGet-ChildItem -Path <DirectoryPath> -Recurse | Get-Aclwmic datafile where (Path='<path>\<filename>') get Name, FileName, AccessMaskGet-Acl -Path <path>\<filename> | Select-Object -ExpandProperty Access | ForEach-Object {$_.IdentityReference; $_.FileSystemRights}Get-Acl -Path <path>\<filename> | Select-Object -ExpandProperty Access | ForEach-Object { $_.IdentityReference; $_.FileSystemRights.ToString() }Understanding access masks:
User Permissions
Group Permissions
Share Permissions
Sysinternals
Last updated