Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Active Directory ACL

$
0
0

Hi All,

I have a requirement to get the list of object in AD which do not have inheritance set. I have used the below command and I am able to get the information but the output do not contain the name of object. It only shows the identityreference, accessControlType etc.

set-location ad:

(get-acl (Get-ADUser -Filter * -SearchBase OU=Test,DC=Domain,DC=Com).distinguishedname).access | ? inheritanceflags -eq 'none'

Please suggest


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>