help to write a script to copy all folders/subfolders from a network drive location to another share location
Posted on 2013-06-14
I am beginner in Powershell, and just wondering if you could help me to write a powershell script to do the following in AD
Every single user's profile in AD has a network drive map connection called X. This drive is used by each user to save their documents, folders/files, etc
When someone leaves our company, we would like to copy all content from this X drive[folder/subfolders/files] for each user in AD to be disabled to another secure shared location called LegacyRoot\Users\UserX..
Can anyone please help me with some ideas, best efforts to build an script to accomplish this goal?