List folders assigned to a security group

This topic contains 1 reply, has 2 voices, and was last updated by  Olaf Soyk 1 week, 1 day ago.

  • Author
    Posts
  • #100684

    Colin van Viegen
    Participant

    Hi all,

    I really like the way Powershell can make my like so much easier, but still struggle to get the correct lines of code.

    Is there a way to get a list of all (unc) folders that have permissions linked to a specific security group?
    I know the way to get all permissions on a specific unc path:

    Get-acl $Path | select -expand access

    but I am looking to reverse this to output the folders where this security group is used.
    So input should be somthing like $Securitygroup (e.g. Active Directory Security Group)
    And output should be like
    \\unc path x\
    \\unc path y\
    \\unc path z\
    etc.

    Hope someone is able to help me out.
    Regards,
    Colin

  • #100687

    Olaf Soyk
    Participant

    Is there a way to get a list of all (unc) folders that have permissions linked to a specific security group?

    Actually not. You would have to check ALL folders and their permissions to get this information.

You must be logged in to reply to this topic.