in Win 2012R2, I have a large folder with thousands of recursive subfolders. there are users data and many folders have broken inheritance, updates, etc.
I need to run a report and list for each subfolders (and recursive underneath this large folder), the groups/users permissions. Also show if it has broken inheritance or not.
Can you pls indicate a link to a similar post using PS script?
Thanks a lot.
Hello and welcome to the forum.
What you’re asking isn’t really a PowerShell question but more jusr “can you search this for me” which isn’t really the spirit here.
If you want to search this forum, or Reddir, or StackOverflow etc you may do so and get quicker results.
If you’ve tried something in Powershell and need help with your code, or an error or something more specific we’d be happy to help. But you have to put some effort in.
The cmdlet you’ll most likely want to leverage the most for this task is Get-Acl. In combination with Get-ChildItem. Maybe even some Export-Csv at the end.
You could also probably ask ChatGPT.