I need to copy files to a new server in a new domain - there is not and will not be a trust established between domains. We will be creating new user accounts and new NTFS permissions in the new domain. I just want to copy files on the 2008 file server from the old domain, to the 2008 file server, currently on a work group, to a new domain. I want to lose permissions also.
In addition, how can I exclude a particular file from being copied over, in this case *.pst files. I'm thinking the below command should work, thoughts?
robocopy "\\SOURCESERVER\f$\Shares\Shared" "\\DESTINATIONSERVER\f$\Shares\Shared" /MIR /r:1 /w:1 /DAT /xf *.pst /log:c:\shared_script.txt