Zip Perform means that you can compress a file to a smaller size, with all {attached} configurations compressed into a single file. Thus, this zip-compressed information can be easily shared with others via email or other file sharing means.

Users usually use RAR programs like WinRAR and 7-zip to perform compression. But did you know you can even use Home Windows’ built-in Powershell to compress/decompress information? Let’s move on to the method.

Study more: Simple file compression methods on Windows and Mac

Simple ways to destroy saved data using the Powershell welcome screen ?

Let’s start with file compression. Using Home windows Powershell, navigate to the compression or zip file method described below:

Step one: Open Powershell by trying to find it in the Home Windows start menu.

Step two: It is now recommended to sort the command with the following syntax –

This is the meaning of the command line :

Compressor – Archive path – Literal path – Target path

  • PathToFiles : Navigate to the utility file you want to compress.
  • The road to the goal: The vacation location is where the file is zipped.

Step three: For example, after changing the above parameters to parameters with the correct file path, the command here would be -.

Compress-Archive -LiteralPath ‘C:UsersAbhishekSharmaDownloads/tweakshotsetupg_tweaking-default.exe’,’ ‘C:UsersAbhishekSharmaDownloads/adrsetup_systweak-default.exe’ -DestinationPath ‘’.

If you notice, the paths to the 2 pieces of information I want to compress are separated by a comma (,). You can add as many paths as you want, separated by a comma. Each of these file paths must be enclosed in quotation marks (”).

alt=Sipping/unzipping files with Powershell in Windows 10 show width=628 height=200 data-ezsrc= />
I also added to the end of the vacation spot path, which is the compressed file ID I personally assigned. If you do not name the resulting compressed file, it will be saved as a .zip file in the path of the restore location.

Easy ways to compress folders with powershell home windows ?

Step one: Open Powershell by trying to find it in the Home Windows start menu.

Step two: The syntax and command won’t change much, since you need a whole folder and all the items in it to compress it into a single zip file. Now it is desirable to sort the command with the following syntax –

Compressor – Archive path – Literal path – Target path

The PathToFolder here represents the path to the folder whose contents you want to compress into a single zip archive.

Step three: If you repeat the above command and decide to collapse the entire Downloads folder rather than the two installation files it contains, the command will look like this

Compression-Archive -LiteralPath ‘C:UsersAbhishekSharmaLoads’ -Destination Path ‘

alt=See the files to be compressed/decompressed with powershell in Windows 10, width=628 height=140 data-ezsrc= />

Simple ways to extract data from a record with powershell home windows ?

The method of decompressing a compressed file and enlarging its contents is much simpler. You only need the path to the zip folder/file and the path to the rest of the location. Here’s how you can do it:

Step one: Open Powershell by trying to find it in the Home Windows start menu.

Step two: The syntax here changes from Compressed Archive to Extended Archive Accepted paths –

Promotion Archives Literal path Assignment path

Step three: If we reverse the previous zip command and use identical directory paths, the command to extract the information with Powershell is

Zoom Archive -LiteralPath ‘’ -TargetPath ‘C:UsersAbhisCharmaLoads

alt=See the files to compress/decompress with Powershell in Windows 10 width=620 height=199 data-ezsrc= />

The contents of the Apps zip file will then be expanded in the Downloads folder. If you specify a non-existent folder instead of a non-existent path, Powershell will create a folder with the correct ID before unpacking.

When you run the command with the path to the location, Powershell also creates an archive folder in the Users folder on your C drive, the path of which is


If the Archive folder already exists, Powershell will give an error message when you run the command. However, you can instruct Powershell to overwrite the information in the previous archive folder and fill it with the contents of the zip file. However, once the old information is overwritten, it is completely erased.

You can also

Who wants a computer? Learn how to write/rewrite data on your Android device.

frequently asked questions

How do I unzip a ZIP file in PowerShell?

The Compress-Archive and Expand-Archive commands were introduced in PowerShell 5 and allow you to easily archive (compress) and decompress (extract) archives from the command line. Using these commands saves time and disk space when packing log files or folders for safe storage.

How do I create a ZIP file in PowerShell?

If you go to CodePlex and get the PowerShell community extensions, you can use their write-zip command. You can go to the PowerShell gallery. Just provide the full path of the zip archive you want to create and the full path of the folder containing the files you want to archive.

How do I unzip a zip file in Windows 10?

Right-click the file you want to archive, and then select Send to > Compressed (zipped) folder. Open the file explorer and find the zipped folder. To extract the entire folder, right-click Extract All and follow the instructions.

Feedback,compress-archive powershell,powershell unzip file,powershell split zip file,powershell extract file from zip,powershell script to zip and move files,powershell read zip file without extracting,Privacy settings,How Search works,powershell script to zip files in a directory,powershell unzip all files in a directory

You May Also Like

ASUS Launches New ROG Phone 5 Series

ASUS has finally given a hint of the long-awaited addition to its…

10 Best Laptops with Stylus | Laptops with Stylus Pen

Laptop with pen 2021 Laptops have replaced desktops and offer better performance…

How to Connect a PS4 Controller with Bluetooth PC and Wired PC in 2021

Facebook Twitter Pinterest Reddit Messenger WhatsApp Today, gaming has become nothing less…

Razer Blade 15 Advanced Edition (2021) Specs: Full Specifications

2021 Razor blade 15 extended editionSpecification The Razer Blade 15 Advanced Edition…