CompressionMethod Parameter (Compress-SevenZip Cmdlet)

The method of compression.

Syntax

Compress-SevenZip -CompressionMethod string

Remarks

This is used to specify different compression methods. By default the cmdlet uses the LZMA compression method (a value of 0). Supported values are:

ValueMethod
lzma (0 - default) LZMA
bzip2 (1) BZip2
delta (2) Delta
copy (3) Copy (no compression)
deflate (4) Deflate
lzma2 (5) LZMA2

Default Value

0

Copyright (c) 2022 /n software inc. - All rights reserved.
NetCmdlets 2020 - Version 20.0 [Build 8319]