powershell unzip 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