Avatar of Zack
Zack
Flag for Australia

asked on 

PowerShell Script to Audit Access Permissions for a specific AD User

Hi EE,

Does anyone know of PowerShell script that can give a full extract of an ACL for an individual AD User?

For instance: Script to list out folder permissions for AD users

Get-ChildItem $location -recurse | where-object { $_.PSIScontainer } | Get-ACL | Where {$_.AccessToString -Like $name} | export-csv $exportlocation

I'm looking for folder and server permissions and the level of access e.g. local admin on that server.

Any assistance is appreciated, we running Windows Server 2012 R2.

Thank you.
PowershellWindows OSWindows Server 2012Active Directory

Avatar of undefined
Last Comment
Zack

8/22/2022 - Mon