We are excited to announce that an update to our preview of PowerShellGet 3.0 is now available on the PowerShell Gallery!
This release includes ScriptFileInfo cmdlets, Update-ModuleManifest
support, and an AuthenticodeCheck for Install.
How to Install PowerShellGet 3.0 Preview 16
Prerequisites
Please note that this preview release of PowerShellGet 3.0 does not support PowerShell 7.0, 7.1 or 7.2-preview1.
This is a temporary issue due to a dependency and should be resolved in future releases. This release does support Windows PowerShell 5.1, PowerShell 7.2 and 7.3-previews.
Please ensure that you have the latest (non-prerelease) version of PowerShellGet and PackageManagement installed. To check the version you currently have installed run the command Get-InstalledModule PowerShellGet, PackageManagement
The latest version of PowerShellGet is 2.2.5, and the latest version of PackageManagement is 1.4.7. To install the latest versions of these modules run the following: Install-Module PowerShellGet -Force -AllowClobber
Installing the Preview
To install this preview release side-by-side with your existing PowerShellGet version, open any PowerShell console and run: Install-Module PowerShellGet -Force -AllowPrerelease
What to expect in this update
This update adds a number of cmdlets related to package metadata as well as a new -AuthenticodeCheck
parameter for Install-PSResource
, Save-PSResource
, Update-PSResource
.
Features of this release
New-ScriptFileInfo
Update-ScriptFileInfo
Test-ScriptFileInfo
Update-ModuleManifest
- Implementation of Authenticode validation via
-AuthenticodeCheck
forInstall-PSResource
Bug Fixes
- Bug fix for installing modules with manifests that contain dynamic script blocks
Using -AuthenticodeCheck
In PowerShellGetv2 we performed what was called a PublisherCheck
, for the sake of clarity in PowerShellGet 3.0 we have renamed this check to be specific to the check being made. The parameter is now opt-in and is called -AuthenticodeCheck
. This check validates signed files and catalog files on Windows.
Features to Expect in Coming Preview Releases
This module is not yet complete. The focus for our next preview release is improving the performance of find/install. For the full list of issues for our next preview release please refer to our GitHub project.
How to Track the Development of this Module
GitHub is the best place to track the bugs/feature requests related to this module. We have used a combination of projects and labels on our GitHub repo to track issues for this upcoming release. We are using the label Resolved-3.0
to label issues that we plan to release at some point before we release the module as GA (generally available).
To track issues/features for the next release, please refer to this GitHub project.
Timeline/Road Map
Expect to see preview releases as new functionality is added and bug fixes are made. User feedback will help us determine when we can have a Release Candidate version of the module which will be supported to be used in production. Based on user feedback, if we believe the 3.0 release is complete, then we will publish a 3.0 version of the module as Generally Available. Since these milestones are driven by quality, rather than date, we cannot offer an exact timeline at this point.
How to Give feedback and Get Support
We cannot overstate how critical user feedback is at this stage in the development of the module. Feedback from preview releases help inform design decisions without incurring a breaking change once generally available and used in production.
In order to help us to make key decisions around the behavior of the module please give us feedback by opening issues in our GitHub repository.
Sydney Smith
PowerShell Team
The post PowerShellGet 3.0 Preview 16 appeared first on PowerShell Team.