Expand-Archive and tar: decompress ZIP and tar.gz with PowerShell

Decompress ZIP files with Expand-Archive, .tar.gz with native Windows 10 tar and manage multiple compression formats from Cerewro. The AI detects the format and chooses the right method.

Expand-Archive and tar: decompress with PowerShell

Windows 10 and later include native support for ZIP (Expand-Archive) and tar/tar.gz (tar), without needing WinZip, 7-Zip or other tools. Cerewro automatically detects the format and chooses the right method.

Decompress ZIP file
Expand-Archive -Path "C:\downloads\project.zip" -DestinationPath "C:\projects\" -Force
Decompress tar.gz
tar -xzf C:\downloads\backup.tar.gz -C C:\extracted\
Create ZIP with PowerShell
Compress-Archive -Path "C:\data\*" -DestinationPath "C:\backup\data_$(Get-Date -f yyyyMMdd).zip"

Formats and commands table

FormatCompressDecompress
.zipCompress-ArchiveExpand-Archive
.tartar -cftar -xf
.tar.gztar -czftar -xzf
.cabmakecabexpand