I need to know the icacls syntax that will list only the folders that a specific group and the groups permissions to that folder. For example, I already have
[icacls C:\*. /findsid "domain\group" /t /c"] this will list only the folders that "domain\group" has access to. But I also need to be able to list the permission that group has on the folder.
What would be even better, if there is icacls syntax that would only list the folder if the "domain\group" has a specific permissions. For Example, only list the folder C:\temp for "domain\group" if it's permission on the folder is modify