You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cmdlet fails to create compress file *.gz giving following error message:
PS /home/maxt> Compress-Archive -Path /home/maxt/Documents -DestinationPath /home/maxt/MyArchives/Mycsvfiles.gz
Compress-Archive : .gz is not a supported archive file format. .zip is the only supported archive file format.
At line:1 char:1
From @MaximoTrinidad on October 3, 2016 15:44
Steps to reproduce
Ran Compress-Archive command to create a *.gz compress file.
Compress-Archive -Path /home/maxt/Documents -DestinationPath /home/maxt/MyArchives/Mycsvfiles.gz
Expected behavior
This cmdlet should allows to create a compress file of type *gz.
PS /home/maxt> Compress-Archive -Path /home/maxt/Documents -DestinationPath /home/maxt/MyArchives/Mycsvfiles.gz
Actual behavior
Cmdlet fails to create compress file *.gz giving following error message:
PS /home/maxt> Compress-Archive -Path /home/maxt/Documents -DestinationPath /home/maxt/MyArchives/Mycsvfiles.gz
Compress-Archive : .gz is not a supported archive file format. .zip is the only supported archive file format.
At line:1 char:1
Environment data
Linux: Ubuntu 16.04.1 LTS Desktop
PS C:\Program Files\PowerShell\6.0.0.10> $PSVersionTable
Name Value
PSVersion 6.0.0-alpha
WSManStackVersion 3.0
BuildVersion 3.0.0.0
PSRemotingProtocolVersion 2.3
CLRVersion
GitCommitId v6.0.0-alpha.10
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
SerializationVersion 1.1.0.1
PSEdition Core
Copied from original issue: PowerShell/PowerShell#2409
The text was updated successfully, but these errors were encountered: