My current scenario is as follows for user accounts:
\\184.108.40.206\userprofile$\User-16 (this is their profile path)
\\220.127.116.11\userprofile$\User-16\Favorites (this is their favorites folder)
I need to take the above favorites folder and move it to their userhome$ folder found here:
\\18.104.22.168\userhome$\%username%\Favorites (these folders already exist)
Then delete their complete userprofile$ folder.
How can I achieve this using powershell? I think the tricky part for me is going through each folder in userprofile$ and looking for a \Favorites folder and then matching that userprofile$ foldername to %username% since they're the same.