Powershell how to get acls from files/directories recursively also including “[” or “]”

Question:

I have the script below working for most of the files and folders but is not working for files and folders with “[” “]”

Answer:

I’m not sure this does 100% the same thing but I’m using the following one-liner

Source:

Powershell how to get acls from files/directories recursively also including “[” or “]” by licensed under CC BY-SA | With most appropriate answer!

Leave a Reply