powershell extract zip code example
Example 1: powershell unzip file
Expand-Archive -LiteralPath C:\Archives\Invoices.Zip -DestinationPath C:\ InvoicesUnzipped
Example 2: Compress files powershell
Compress-Archive -Path (Join-Path $filesDir "*.*") -DestinationPath (Join-Path $outDir "Files_Compressed.zip")
Example 3: Compress files powershell
#Ordner komprimieren
Compress-Archive
#Ordner dekomprimieren
Expand-Archive
Example 4: how to extract .zip file from powershell
Expand-Archive [-Path] <string> [[-DestinationPath] <string>]