This is an automated archive.

The original was posted on /r/sysadmin by /u/spazzo246 on 2023-08-07 05:49:13+00:00.


Today we recieved a request to export data of all shared network drives and permissions of those drives. As I started working on this we also got asked that if a group is in the permissions to also list the group members and any nested groups… My day got a whole lot worse.

I have a script already that simply exports the permissions to a CSV file but I never found a solution for nested groups and thier members. I ended up just manually exporting group after group to a text file and doing excel spaghetti and merging the data all together in the most messy way possible

Has anyone else done this before? how did you approach it? No access to any sort of 3rd party auditing tools/software just powershell

How would you do this?