Zend certified PHP/Magento developer

How do I add a user with “Full Control” permissions to folder without changing owner of the folder (I.E.) Administrators, using the command line?

I want a command-line solution to add a local user account to the permissions table for a directory and grant the account full access… WITHOUT changing the ownership of the directory.

I’m looking for the equivilent of this:

enter image description here

enter image description here

I want to do this programmatically in the command line using either PWSH or CMD. Preferrably Powershell 7.

Any help greatly appreciated.