I have thousands of files that were consolidated into a single folder that were previously saved in a complex folder structure. I have the path’s for the original folder structure. I need a powershell script that will recreate the folder structure and move the files into it’s corresponding folder.<\/p>","upvoteCount":5,"answerCount":9,"datePublished":"2021-08-16T15:43:29.000Z","author":{"@type":"Person","name":"spiceuser-9bpkp","url":"https://community.spiceworks.com/u/spiceuser-9bpkp"},"suggestedAnswer":[{"@type":"Answer","text":"
I have thousands of files that were consolidated into a single folder that were previously saved in a complex folder structure. I have the path’s for the original folder structure. I need a powershell script that will recreate the folder structure and move the files into it’s corresponding folder.<\/p>","upvoteCount":5,"datePublished":"2021-08-16T15:43:29.000Z","url":"https://community.spiceworks.com/t/need-a-script-to-move-files-into-folders/808560/1","author":{"@type":"Person","name":"spiceuser-9bpkp","url":"https://community.spiceworks.com/u/spiceuser-9bpkp"}},{"@type":"Answer","text":"