Good day all,
I have a folder structure on a Windows 2008 R2 file server with about 120,000 documents in it. I need to reassign ownership for individual files. I have a list of all the files in the folder structure with a column indicating who the new owner should be. The new owners are all user domain accounts and all these users have read & write access to this folder structure (their permissions I change as well). My own account is also an administrator on the file server.
I'm struggling to find/build a script snippet that that will set an owner to a specific file.
My preference would be to do this in vbscript or VB.Net or powershell.
Any help will be appreciated.