Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 478
  • 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

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

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