How to zip and unzip in PowerShell?

You can use Compress-Archive and Expand-Archive PowerShell cmdlets to zip and unzip files or folders in PowerShell. Here is a quick example for your reference –