Compress-Archive -Path C:\Reference -DestinationPath C:\Archives\Draft.zip
$compress = @{ Path = "C:\Reference\Draftdoc.docx", "C:\Reference\Images\*.vsd" CompressionLevel = "Fastest" DestinationPath = "C:\Archives\Draft.Zip" } Compress-Archive @compress
Compress-Archive -Path (Join-Path $filesDir "*.*") -DestinationPath (Join-Path $outDir "Files_Compressed.zip")
#Ordner komprimieren Compress-Archive #Ordner dekomprimieren Expand-Archive