I have to copy the contents of multiple user folders to new folders on a different drive. The issue is the folder names will be different. E.G Adam.smith will now be SmithA.
I have a CVS file with the old folder names (Adam.Smith) and also the new folder names (SmithA).
Example would be c:\temp\Adam.smith that will need the contents copied to g:\users\SmithA.
Is this possible using powershell?