Powershell export list of files and folders that have custom ACL with just the difference from the parent folder

Eros Rodigari 0 Reputation points
2024-02-16T10:18:09.85+00:00

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.

Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,418 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MotoX80 32,331 Reputation points
    2024-04-14T12:52:44.8733333+00:00
    0 comments No comments