So I'm in the process of building a new File Server. I have used the Microsoft FSMT (File Server Migration Tool) to copy all the shares/data from the old file server to the new one in a new domain. The new domain and old domain have trusts setup already. I have also created all the user accounts from the old domain over to the new domain. My question is how can I easily add the NTFS permissions for the new domain accounts to the new file server.
Example right now I have shares on the new file server giving (User1@olddomain.local) access to the files. I need a script/program to traverse through all the sub folders/files and see that User1@olddomain.local has access to the folder/file and add User1@newdomain.local with the matching NTFS permissions.