I have a list of ACL dumps from a folder and I know what groups have access to specific directories.
I would like to find an example of a script (wmi or VBScript) which would give me a list of all users in those groups.
This sounds simple, if not the fact that each Domain group could contain other groups and I need to expand those to get Every User, having access to a particular directory, irregardless if it's a direct or nested membership through other groups. And there might be groups in groups in groups etc... theoretically endless, if there is a problem and two global groups are in a loop.
Does anyone have any working examples?
Or a utility that would expand the group membership for a particular group through all the nested groups into a simple text file would do good as well.