Forrest logo
back to the Get-Acl tool

get-acl:tldr:cc58c

get-acl: Display the ACL for a specific directory.
$ Get-Acl ${path\to\directory}
try on your machine

The command Get-Acl is a PowerShell cmdlet used to retrieve the access control list (ACL) for a specified file or directory. In this command, ${path\to\directory} is a placeholder representing the path to the directory for which you want to get the ACL. You need to replace this placeholder with the actual path to the directory you want to examine. For example, if you want to get the ACL for the directory "C:\Users\John\Documents", you would use the following command: ``` Get-Acl C:\Users\John\Documents

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the Get-Acl tool