troubleshooting Question

PowerShell Script to Audit Access Permissions for a specific AD User

Avatar of Zack
ZackFlag for Australia asked on
Windows OSActive DirectoryPowershellWindows Server 2012
2 Comments1 Solution84 ViewsLast Modified:
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.
Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros