Blog to Visit:-
[ Ссылка ]
Link to zip Multiple files video :- [ Ссылка ]
----------------------------------------------------------------------------------------------------------------
How to Unzip Files Using PowerShell
In addition to being able to zip files and folders, PowerShell has the ability to unzip archives. The process is even easier than compressing them; all you need is the source file and a destination for the data ready to unzip.
Open PowerShell and type in the following command, replacing 'PathToZipFile' and 'PathToDestination' with the path to the files you want to compress and the name and folder you want it to go to, respectively:
The destination folder specified to extract the files into will populate with the contents of the archive. If the folder didn’t exist before unzipping, PowerShell will create the folder and place the contents into it before unzipping.
By default, if you leave out the -DestinationPath parameter, PowerShell will unzip the contents into the current root directory and use the name of the Zip file to create a new folder.
In the previous example, if we leave out -DestinationPath , PowerShell will create the folder “Archive” in the path “C:\Users\brady” and extract the files from the archive into the folder.
If the folder already exists in the destination, PowerShell will return an error when it tries to unzip the files. However, you can force PowerShell to overwrite the data with the new ones using the -Force parameter.
You should only use the -Force parameter if the old files are no longer needed, as this will irreversibly replace the files on your computer.
![](https://i.ytimg.com/vi/bzKmW6NCZJE/maxresdefault.jpg)