I’m trying to work out how i can achieve this.
I have one zip file that i want extract and 6 files go in one folder, a different 6 to another.
The files are the same name but change slightly per month as part of a release.
I’ll be using the below to unzip the files :
Add-Type -assembly "system.io.compression.filesystem" [io.compression.zipfile]::ExtractToDirectory($Location, $destination)
But how can i move certain files to different locations ? Could i create an XML file ? Or create two hash tables and copy them to required locations ?
XML would be good, but not sure how to go about this.