Skip to content

Replace PowerShellGet v2 (2.2.5) with PowerShellGet v3 (3.0.23-beta23) - #27852

Open
alerickson wants to merge 3 commits into
PowerShell:masterfrom
alerickson:addPowerShellGetCompat
Open

Replace PowerShellGet v2 (2.2.5) with PowerShellGet v3 (3.0.23-beta23)#27852
alerickson wants to merge 3 commits into
PowerShell:masterfrom
alerickson:addPowerShellGetCompat

Conversation

@alerickson

Copy link
Copy Markdown
Member

PR Summary

Replace PowerShellGet v2 (2.2.5) with PowerShellGet v3 (3.0.23-beta23). This is effectively moving away from the "old" PowerShellGet onto the new shim compatibility later that translates PowerShellGet v2 commands for PSResourceGet to run.

PR Context

PR Checklist

Copilot AI lite review requested due to automatic review settings August 14, 2026 02:46
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the packaged PowerShell Gallery module set to use PowerShellGet v3 (3.0.23-beta23) instead of PowerShellGet v2 (2.2.5), and adds a Windows BOM definition file used for packaging/compliance classification.

Changes:

  • Bump PowerShellGet package reference to 3.0.23-beta23 in PSGalleryModules.csproj.
  • Add tools/packaging/boms/windows.json defining file classification patterns for Windows packaging.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.

File Description
tools/packaging/boms/windows.json Adds Windows BOM pattern list for classifying packaged files as Product/NonProduct.
src/Modules/PSGalleryModules.csproj Updates the PowerShellGet package version used when restoring/bundling PSGallery modules.

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +163 to +167
"Pattern": "D3DCompiler_47_cor3.dll",
"FileType": "NonProduct",
"Architecture": [
"x64, x86"
]
@kilasuit

Copy link
Copy Markdown
Collaborator

alerickson Is there any chance you & the PowerShellGet Maintainers can release a non-beta version of PowerShellGet v3 first as this will flag for many people & stop them from using in production.

@alerickson

Copy link
Copy Markdown
Member Author

Ryan Yates (@kilasuit) we'll definitely get a stable version out before the GA release of 7.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants