Quantcast
Channel: Recent Edits
Viewing all articles
Browse latest Browse all 12198

An example of Finding users that have AccessRulesProtected

$
0
0
$Users = Get-ADUser -Filter {SamAccountName -like '*inger*'} | Select-Object -Property DistinguishedName$SecurityAllUsers = $Users | ForEach-Object { get-acl "ad:$($_.distinguishedname)" }$Security = $SecurityAllUsers | Where-Object {$_.AreAccessRulesProtected}$security = $Security | Sort-Object -Property PSpath$Security |select -Property AreAccessRulesProtected, psChildname, PSparentpath | export-csv -Path c:\tmp\xxx01.csv -Encoding ASCII

Viewing all articles
Browse latest Browse all 12198

Trending Articles



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