Gets the access control list (ACL) associated with a file or object.
Snap-In: Microsoft.PowerShell.Security
Syntax:
Get-Acl [
[-Path] <String[]>] [-Audit] [-Filter <String>] [-Include <String[]>] [-Exclude <String[]>] [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>]
Description:
The resources in the operating system, files, folders, shares, printers, and so on are guarded by security descriptors that are made up of Access Control Lists (ACL's) ACLs contain security information regarding access, permissions, etc. The get-acl Cmdlet retrieves the information contained in the ACL. It is displayed in list format by default.