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

Getting a list of users and permission from a folder

$
0
0

I run this command to get a a list of users and permission from a folder

$project_folder = "\\servername\foldername"
get-acl $project_folder | %{ $_.Access  } | ft -property IdentityReference, AccessControlType, FileSystemRights > folder.csv.

This only lists information for 1 folder.

If i have multiple folders how should the code be modified?


Viewing all articles
Browse latest Browse all 21975

Trending Articles



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