See the script in the accepted answer in this post.
Powershell export list of files and folders that have custom ACL with just the difference from the parent folder
Eros Rodigari
0
Reputation points
In an old server share I have a lot of nested folders with different permissions that I need to analyze the permissions. I would need a script to have the list of all the files & folders that have a different ACL from the parent one... all the folders have inheritance enabled but in some folders and files permissions have been added to users and groups which are then replicated on subfolders. I hope explained my problem 😅 Can anyone help me? Thanks in advance I was able to deduce that all folders and files have inheritance enabled.