List folders assigned to a security group

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

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.