Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Powershell Get Acl

$
0
0

Hi

I'm having trouble getting acl's for administrator, I know I have to go through all files in C drive then get acls for all files and folders. Then check to see if they match full control permission for admins.

I need to find out what files administrators don't have full permission to.

Get-ChildItem C:\ -Recurse | get-acl for admin | match permissions -ne "Full Control" | then print the path of each file

Thank you


Viewing all articles
Browse latest Browse all 21975

Trending Articles



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