Hi
Im kind of a newbie with PS, and I have a task, and I was wondering, can PowerShell replace robocopy? task is this:
users are moving from one homedrive to another: the robocopy cmd look like this:
robocopy \\mainshare01\home$\xuser1 \\mainshare01\home$\yuser01 /MIR /r:1 /w:1 /log+
My problem, is that its about 150 users (xusers becoming y users) and i need to move the home drive to New location. In robocopy, I would make a full \\ for each and one user.
But since I have a sheet with all the old names and New names and homedrive path.. I want to use this instead of makin 150 different robocopy \\ -paths..
Can someone out there help me to solve this problem?