What PowerShell commands can be used to add full access permissions for a user to a file?
You can use `Get-Acl` and `Set-Acl` cmdlets to create a `FileSystemAccessRule` with `FullControl` and inheritance flags, then add it via `AddAccessRule`. The article provides a complete `Add-ACL` function that accepts a path and applies the rule, with optional recursion using `Get-ChildItem`. Further details are in the [PowerShell ACL section](/news/penetration-techniques-access-control-list-in-windows).
Related article:
Penetration Techniques - Access Control List in Windows