Answer the question
In order to leave comments, you need to log in
What is the change ownership module for powershell DSC?
Prompt the change ownership module for powershell DSC
For simple distribution of rights, there is get-carbon.org
Quite good
But it seems impossible to change the owner of a file / directory through it. Well, or I didn’t find it.
In general, natively there is PowerShellAccessControl
But it somehow works as clumsily as it can be
. The final question sounds the same as in DSC to describe to the file that its owner is not system, but for example vasya
Answer the question
In order to leave comments, you need to log in
but just Get-Acl/Set-Acl is not enough?
the simplest search returns
https://www.powershellgallery.com/packages/AccessC...
https://github.com/dsccommunity/cNtfsAccessControl
1. This utility works fine in Powershell https://helgeklein.com/setacl/
2. There is a NTFSSecurity library https://github.com/raandree/NTFSSecurity
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question