I want to prepare a list of persons having access to a given folder. The list should also contain the level of access granted. I figured out the following powershell command:
Get-Acl \\path\to\my\folder | Select-Object path -ExpandProperty Access | ft IdentityReference, FileSystemRights
This is almost what I need. I want to replace IdentityReference column with a column containing full user names. I am trying to achieve it by passing IdentityReference value to
Get-QADUser cmdlet, but I do not know how to format the output to see both the full user name and FileSystemRights column.