Link to home
Start Free TrialLog in
Avatar of Bud
BudFlag for United States of America

asked on

Take Ownership of Folder via PowerShell

How do I give ownership of a folder (C:Windows\CSC) and all child objects to the Domain Users security group (domainname\Domain Users) via PowerShell?
Avatar of Adam Brown
Adam Brown
Flag of United States of America image

Not natively, as far as I know. https://learn-powershell.net/2014/06/24/changing-ownership-of-file-or-folder-using-powershell/ has some information on a script that will do the work for you, though.
ASKER CERTIFIED SOLUTION
Avatar of Aard Vark
Aard Vark
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial