Could you please recommend powershell script to switch ownership of the files.
For example from user@Source.com to the user@TARGET.com
Our users were re-created from scratch in the target forest, so we need to have a script to change ownerships of files from source users to target users.
We have a different naming convention in the target for users, so the script would need to read the input excel file where I have listed the directories and new owners for the files.
Is it possible? Please help. Thank you very much!