A pragmatic way would be to extract the archive as it is and afterwards move the folder “Mark” one directory up and delete the now empty folder “test”. You might show the code you’re using to extract your archive.
[quote quote=196139]A pragmatic way would be to extract the archive as it is and afterwards move the folder “Mark” one directory up and delete the now empty folder “test”. You might show the code you’re using to extract your archive.
Unfortunately not. Expand-Archive will expand the archive just as it is. You could unzip the files to a temporary folder and move them afterwards to a final target location if that’s needed - maybe for an automation task or so.
Ah … I understand. And unfortunately the answer to this question is “No” as well. If that’s crucial for you wou would need to create that functionality by yourself. But do you really need color to unzip some files? The files will be the same later - no mater what color the unzipper showed.