I found this script that enumerates NTFS permissions on a share. The script works great, but i would like to have some extra functionality, if possible.
The script can be found here: Script
(Also attached to this Question)
Let me first explain the filesystem structure:
2x [filesystem group] Read of write
So a user is member of a role based group, the rolebased group is member of a filesystem group that gives it read or write permissions to a folder.
Th script as it is now, shows the names of the filesystemgroup and than enumerates the rolebased groups and than shows the usernames.
It does not show the name of the rolebased groups.
What I would like to have as output:
Name of the filesystemgroup and the names of the rolebasedgroups that are member of this filesystemgroup. Usernames would be great, but do not have the highest priority.
Am I asking the impossible, or is there someone who can accomplish this challenge ?
Thanks in advance !