Home > Software engineering >  Unzip and access folder with powershell
Unzip and access folder with powershell

Time:11-27

I have a powershell script the downloads a zip file with a folder with files within it to the %TEMP% folder and I'm trying to understand how it can be unziped and acessed an exe file within it?

I have made searches both here and on google but I didn't found anything and have no clue how can that be done or evn where to start.

CodePudding user response:

Try Extract-ZipFile cmdlet. Then access the exe where you have extracted the zip file.

CodePudding user response:

Try expand-archive to unzip files. Power shell v5 has it

  • Related