Using PowerShell to list ACL’s for Windows File Shares

Problem:

How do a list an ACL for a file share and output the results using PowerShell?

Solution:

Run the below PowerShell code:

Get-ACL -path "C:\Departments\My Folder" | Format-List | out-file c:\temp\appperms.txt 

Leave a Reply

Your email address will not be published. Required fields are marked *