My current scenario is as follows for user accounts:
\\22.214.171.124\userprofile$\User-16 (this is their profile path)
\\126.96.36.199\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:
\\188.8.131.52\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.