locked
Folder Access Analysis RRS feed

  • Question

  • Hi Techie

    I want to analysis for the Project wise folder created like 

    Main Folder-->Sub Folder-->Sub Folder

    each folder have different peoples are having different rights my requirement is follow

    Main Folder User Name Access Rights

    Ms_Project  Mick            FullControl,Read,Write  

    I tried "AccessEnum" and various vb scripts and powershell also.

    Thanks for your Effort


    Thursday, January 2, 2014 7:33 AM

Answers

  • Hi,

    This is a forum where we answer specific scripting questions. However, we don't really have the resources to write completed scripts on demand to spec. If you need that kind of support, I suggest engaging a paid consultant.

    Bill

    • Marked as answer by Bill_Stewart Tuesday, February 18, 2014 2:57 AM
    Thursday, January 2, 2014 7:05 PM

All replies

  • Hi,

    This is a forum where we answer specific scripting questions. However, we don't really have the resources to write completed scripts on demand to spec. If you need that kind of support, I suggest engaging a paid consultant.

    Bill

    • Marked as answer by Bill_Stewart Tuesday, February 18, 2014 2:57 AM
    Thursday, January 2, 2014 7:05 PM
  • Try this module.

    Import that, then see if this does what you're looking for:

    # PSv3 or higher way to get just directories. This will
    # show a path, and a limited view of the DACL. It's
    # good for visually inspecting the DACL:
    dir -Directory | Get-SecurityDescriptor
    
    # PSv2 or higher way to get just directories. The second
    # function will show you each ACE in the DACL as a separate
    # object. The ACEs are grouped by path:
    dir | ? { $_.PsIsContainer } | Get-AccessControlEntry
    

    You could add the -Recurse parameter to the dir call if you would like to dig deeper into the folder structure. Get-AccessControlEntry lets you filter the results, too (or you could use a where-object call after the Get-AccessControlEntry call).

    Get-AccessControlEntry will let you export the results to a CSV, too (that might require a little bit of work to tell it which properties you want, though).

    Does that do what you were looking for? If not, please let me know.

    Sunday, January 5, 2014 1:27 AM