does anyone have a powershell script to locate a current files location and copy a new file to that location and then delete the old file.<\/p>","upvoteCount":2,"answerCount":10,"datePublished":"2022-01-05T19:13:43.000Z","author":{"@type":"Person","name":"spiceuser-vc1ft","url":"https://community.spiceworks.com/u/spiceuser-vc1ft"},"suggestedAnswer":[{"@type":"Answer","text":"
Advertisement
does anyone have a powershell script to locate a current files location and copy a new file to that location and then delete the old file.<\/p>","upvoteCount":2,"datePublished":"2022-01-05T19:13:43.000Z","url":"https://community.spiceworks.com/t/programming/821258/1","author":{"@type":"Person","name":"spiceuser-vc1ft","url":"https://community.spiceworks.com/u/spiceuser-vc1ft"}},{"@type":"Answer","text":"
Advertisement
you do not need a script…you can use windows explorer for that ??<\/p>","upvoteCount":1,"datePublished":"2022-01-05T19:33:24.000Z","url":"https://community.spiceworks.com/t/programming/821258/2","author":{"@type":"Person","name":"adrian_ych","url":"https://community.spiceworks.com/u/adrian_ych"}},{"@type":"Answer","text":"
welcome. \nWe’re happy to help but not a script writing service. \nthose might be commands you might be looking for:<\/p>\n
also, robocopy is a good move utility. \nIf you get stuck, feel free to post what you have tried. \nIf you post code, please use the ‘Insert Code’ button. Please and thank you!<\/p>