How do I compress files using powershell that are over 2 GB?

To explain the limitation named on PowerShell Docs for Compress-Archive: The Compress-Archive cmdlet uses the Microsoft .NET API System.IO.Compression.ZipArchive to compress files. The maximum file size is 2 GB because there’s a limitation of the underlying API. This happens because this cmdlet uses a Memory Stream to hold the bytes in memory and then write … Read more