Get Shares and Permissions
This, this is one of my favorite scripts for file server buildouts. You can audit new stuff, immediately identify old things, and yeah. Just all around awesome. Grabs all the magical shares and permissions using powershell wizardry. I have included the syntax below for calling this. One day, when I have more cares, I might turn it into a full script where it calls the function instead of the script where it does the things with the stuff and prompts you for input rather than having to give toggles.
Credit to TheSleepyAdmin for creating this. He is a swell dude. https://github.com/TheSleepyAdmin
Chandler Myron / Get Shares And Permissions
GitLab Community Edition

.\Get-SharesAndPermissions.ps1 -ExportPath $whateveryouwanthere -Servers $commalistofservers,$somethinglikethis