We’re excited to announce that the second preview of a rewrite of Microsoft.PowerShell.Archive, the module that allows you to create and extract archives, is now obtainable on the PowerShell Gallery.
This launch is the second preview launch of a rewrite of the module and isn’t function full. Please be aware that this launch is simply appropriate with PowerShell 7.3.0-preview5 and up. For extra data on what’s proposed on this rewrite, or to provide suggestions on the design please seek advice from the RFC.
Putting in the module
Please be aware that this launch will solely work with PowerShell 7.3.0-preview5 and up. Discover and set up the most recent preview model of PowerShell right here.
To put in the Microsoft.PowerShell.Archive 2.0 preview 2 utilizing PowerShellGet 2.2.5 run the next command
Set up-Module Microsoft.PowerShell.Archive -AllowPrerelease
To put in the Microsoft.PowerShell.Archive 2.0 preview 2 utilizing PowerShellGet 3.0 previews run the next command
Set up-PSResource Microsoft.PowerShell.Archive -Prerelease
Options of the discharge
This launch incorporates the rewrite of the Develop-Archive
cmdlet.
This cmdlet incorporates two parameter units
Develop-Archive [-Path] <string> [[-DestinationPath] <string>] [-WriteMode Update ] [-PassThru] [-Filter <string[]>] [-WhatIf] [-Confirm] [<CommonParameters>]
Develop-Archive [-LiteralPath <string>] [-DestinationPath] <string>] [-WriteMode Update ] [-PassThru] [-Filter <string[]>] [-WhatIf] [-Confirm] [<CommonParameters>]
Some options to notice of this launch
- Added
-WriteMode
parameter toDevelop-Archive
- Added help for zip64
- Fastened a bug the place the entry names of information in a listing wouldn’t be appropriate when compressing an archive
Options of the following launch
The following launch will concentrate on further options of the module. To trace the progress of this launch, have a look at this challenge in our GitHub repository.
Giving Suggestions and Getting help
Whereas we hope the brand new implementation supplies a a lot better person expertise, there are sure to be points. Please tell us if you happen to run into something.
If you happen to encounter any points with the module or have function requests, the very best place to get help is thru our GitHub repository.
Sydney
PowerShell Staff