Griff Barker @griff.systems · Nov 22

Next, the same command but temporarily disabling the live progress bar: ```powershell $progressPreference = 'SilentlyContinue' Expand-Archive -Path $path -DestinationPath $destPath $progressPreference = 'Continue' ``` This took around 25s -- much faster! This is where the bulk of time is wasted.

2 likes 1 replies

?

Replies

Griff Barker · Nov 22

Finally, I tried calling .NET directly: ```powershell [System.IO.Compression.ZipFile]::ExtractToDirectory($path, $destPath) ``` This took 22s, which was another slight improvement.