• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 482
  • Last Modified:

Filter ICALCS results

I want to twek my CACLS script to NOT show the inheritance permissions for a folder, just simply the folder permission.

I want this:

e:\data\departments\Contracts\Assignments BUILTIN\Administrators:(F)
                                          BUILTIN\Administrators:(I)(OI)(CI)(F)
                                          DOMAIN\user.name:(I)(OI)(CI)(RX)

To look like this:

e:\data\departments\Contracts\Assignments BUILTIN\Administrators:(F)
                                          BUILTIN\Administrators:(F)
                                          DOMAIN\user.name:(RX)

0
deriickmu
Asked:
deriickmu
1 Solution
 
PberSolutions ArchitectCommented:
I don't think there is any build it filtering options in icacls.  It just shows the raw ACEs in the ACLs.  You would need to have a VB script or something process the output to filter your results.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now