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
DailySysAdmin | For all things IT!
A resource for Sys Admins & IT Pros
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