How to descompress Gzip archive.

Topics: Developer Forum, Project Management Forum, User Forum
Feb 14, 2013 at 5:13 PM
In Pscx2.0.0.1

How to descompress Gzip archive.

Write-GZip -Path "c:\z\url.txt" -- work

but
Expand-Archive -Path "C:\Z\url.txt.gz" ---- throw exception

Expand-Archive : Error reading index 0
En línea: 1 Carácter: 15
  • Expand-Archive <<<< -Path "C:\Z\url.txt.gz"
    • CategoryInfo : ReadError: (:) [Expand-Archive], ArgumentException
    • FullyQualifiedErrorId : ArchiveReadFail,Pscx.Commands.IO.Compression.ExpandArchiveCommand
Coordinator
Feb 16, 2013 at 6:11 PM
This has been fixed in 2.1.1. Can you update to either the 2.1.1 or the 3.0 (PowerShell 3.0 only) version of Pscx?