PowerShell – List All Directories With Users Who Can Access Writer #1, 2016-04-08 Maybe this is a one-off type of thing, but if you need to see every folder within a directory and get the list of who can access that folder, it can be done using PowerShell. The output is tab-separated and can easily paste into an Excel sheet. cls cd \\DIRECTORY_NAME\CHANGE_THIS $items = get-childitem -R | Where-Object {$_.PSIsContainer -eq $true} foreach($item in $items) { $access_list = $item|get-acl; # gets access list foreach($user in $access_list) { $user_names = $user.Access foreach($user_name in $user_names) { Write-Host $item.Fullname "`t" $user_name.IdentityReference } } } Powershell powershellsecurity