question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

PowerShellGet shipping in PowerShell 7.4

See original GitHub issue

Summary of the new feature / enhancement

  • PowerShellGet v3 (-PSResource cmdlets) will be renamed to PSResourceGet begining with the next release (beta22).
  • PowerShell v7.4 (LTS) will ship PSGet v2.2.5 and PSResourceGet v3.0.x. This will help us get telemetry about usage of PSResourceGet. No compat layer will be shipped. This allows current scripts to work as is, with or without fully qualified cmdlet names.
  • Customers can use -PSResource cmdlets for perf improvements and new features. No new feature work will be done in -Module cmdlets.
  • In the first preview of PowerShell v7.5 we include CompatPowerShellGet renamed as PowerShellGet v3.0.0 in addition to PSResourceGet. In PowerShell v7.5 we will not ship PowerShellGet v2.2.5 side by side.
  • We will get feedback from community about the compat layer which will help use decide on our future course.
  • When time comes, we ship PSResourceGet in addition to current PowerShellGet 1.0.0.1 in Windows PowerShell.
  • We will also work with Windows to improve the current Install/Upgrade experience in Windows PowerShell.

Proposed technical implementation details (optional)

No response

Issue Analytics

  • State:closed
  • Created 4 months ago
  • Comments:14 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
ajansveldcommented, May 18, 2023

I think the Microsoft.PowerShell.PSResourceGet rename (and shipping it side-by-side) is a great idea, but at that point can we also just drop the “Get” part? Seems to make sense since:

  • The name is inconsistent with general module naming practices
  • The module does more than “get”
  • (Most of) the cmdlets have the PSResource prefix

Vote for Microsoft.PowerShell.PSResource!

1reaction
ThomasNietocommented, May 17, 2023

Since you’re going to renaming the module will you be putting it in the Microsoft.PowerShell module prefix?

Read more comments on GitHub >

github_iconTop Results From Across the Web

PowerShellGet in PowerShell 7.4 Updates
In PowerShell v7.5 we plan to ship PowerShellGet v3.0.0 and the latest stable version of PSResourceGet, side-by-side. We will get community ...
Read more >
PowerShellGet in PowerShell 7.4 Updates - Lightnetics
Version 3 previews of PowerShellGet will begin shipping in PowerShell 7.4 previews in June (preview 5) with the following updates.
Read more >
PowerShellGet in PowerShell 7.4 Updates
Version 3 previews of PowerShellGet will begin shipping in PowerShell 7.4 previews in June (preview 5) with the following updates.
Read more >
PowerShellGet 3.0 Preview 20 available
This version of the module, along with the PowerShellGet compatibility module, will be shipping in the next preview of PowerShell 7.4 (preview 3) ......
Read more >
Git in PowerShell
Then you can go back and try again. This happens, because the modules that ship with Windows PowerShell are signed with a different...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found