if you want to know the file server permissioons you need to copy this ps script to your file server and set the csv file location.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
$OutFile = "C:\File Server Secur\Permissions-E.csv" $Header = "Folder Path,IdentityReference,AccessControlType,FileSystemRights,IsInherited" Del $OutFile Add-Content -Value $Header -Path $OutFile -Encoding UTF8 $RootPath = "Server Path" $Folders = dir $RootPath -recurse | where {$_.psiscontainer -eq $true} foreach ($Folder in $Folders){ $ACLs = get-acl $Folder.fullname | ForEach-Object { $_.Access } Foreach ($ACL in $ACLs){ $OutInfo = $Folder.Fullname + "," + $ACL.IdentityReference + "," + $ACL.AccessControlType + "," + $ACL.FileSystemRights + "," + $ACL.IsInherited Add-Content -Value $OutInfo -Path $OutFile }} |