Change Owner
Take ownership of a file:
Follow these steps in PS:
Get a reference to the file:
Get the current ACL of the file:
Specify the new owner's user account:
Create new ACL entry with the new owner:
Apply the new ACL to the file:
Last updated
Was this helpful?