We are migrating one of our legacy servers at work to a new data center (different domain, etc...). This server has a folder with MANY nested folders inside of it. Each of the nested folders may have different explicit permissions granted to different users. There are hundreds of folders.
Is there a way I can get all the permissions in a report using PowerShell or something similar for all the folders & nested folders? Im looking for an easy-as-possible way to replicate the folder permissions or get some output where I can manually recreate it?