CompressionLevel Parameter (Compress-Zip Cmdlet)
The compression level.
Syntax
Compress-Zip -CompressionLevel int
Remarks
This parameter specifies the level of compression to be used, between 0 and 6. Higher values will cause the cmdlet to compress better; lower values will cause the cmdlet to compress faster. A value of 0 will store the file without compression.
This parameter is only applicable when Format is set to "Zip", "Jar", "GZip", or "ZipSFX".
Default Value
4