Repository navigation
Description
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest released version
- Search the existing issues.
- Refer to the FAQ.
- Refer to Differences between Windows PowerShell 5.1 and PowerShell.
Steps to reproduce
(v7.4.3) Release of PowerShell (Latest) - NOT YET AVAILABLE - via --source winget (PLEASE FIX)
Attempt via ' PS (v7.4.2) ' in ' Windows Terminal (v1.20.11381.0) ' from ' --source (winget) '
It is (2024-06-16 @ 11:55 PDT) currently.
-
Receive NOTICE when I open a New Tab in Windows Terminal (v1.20.11381.0) that is PowerShell (v.7.4.2) (both are the
latest available via WinGet on my System.
Yes. Did a : 'winget source update' prior to a :
'winget upgrade -r -u --force --verbose --wait -s winget' ... -
NOTICE LISTS :
'' A new PowerShell stable release is available: v7.4.3
Upgrade now, or check out the release page at:
https://aka.ms/PowerShell-Release?tag=v7.4.3 '' ... -
WinGet can NOT find PowerShell (v7.4.3) via ' --name ' , ' --id ' , OR ' --version ' in the ' --source winget ' ?Repo? (is
that the correct term)? -
PLEASE FIX the winget source so that ' PowerShell --tag v7.4.3 can be located/installed/upgraded via WinGet
-
FYI ' App Installer is already installed ' , ' (v1.22.11261.0) on Windows 10.
-
THANKS in advance!
Expected behavior
When I ' CRTL+SHIFT+L-CLICK ' the NOTIFICATION BANNER MESSAGE in a PS (v7.4.2) Session in Windows Terminal that displays the new PowerShell stable release version tag, I expect to be able to then click to open the github page for the latest stable release of PowerShell to see what was updated, and then also be able to find and upgrade the version of PowerShell on my PC via WinGet...Actual behavior
When I attempt to perform : ' winget find Powershell ' I expect to find the version that is the latest stable release I was notified of by PowerShell's Notification Banner.
This is not possible. If I search : ' winget find --id Microsoft.PowerShell ' I only find my currently installed version --tag (v7.4.2.0) and no listing for the new --tag (v7.4.3.0)...
...so I request that the package for this Latest Release (v7.4.3.0) be added to the winget source.
Thanks In Advance...Error details
No PS > Get-Error : to report...Environment data
PS > $PSVersionTable
Name Value
---- -----
PSVersion 7.4.2
PSEdition Core
GitCommitId 7.4.2
OS Microsoft Windows 10.0.19045
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0Visuals

Activity
RicardoGEsteves commentedon Jun 19, 2024
Was about to create this issue to.
rhubarb-geek-nz commentedon Jun 24, 2024
I suggest the package manifest for PowerShell in WinGet should automatically define POWERSHELL_UPDATECHECK=Off when installed. Then leave it to WinGet to do the update when it is ready and avoid the pointless nagging message.
Flameancer commentedon Jun 30, 2024
Hello I seem to have a similar issue. Albeit with mine, winget does say there is a new powershell update, but it fails to actually perform the updating.
Prompt from Powershell stating there's an Update

Winget update shows that there is a new version of PowerShell available. v7.4.3.0 and the source is Winget:

Winget fails to update Powershell citing

No installed package found matching input criteria.and even fails when you specify the version number.StevenBucher98 commentedon Jul 8, 2024
I am able to find 7.4.3 published to winget, closing as resolved
jhribal commentedon Jul 9, 2024
Yes you can find it published on winget. The problem is the upgrade.
1. Here we can see i have installed previous version (7.4.2) of powershell.



2. Now i check whether new version of powershell is available and it shows that 7.4.3 is there.
3. I try to upgrade, but it shows i don't have powershell installed.
So what is this behavior? Did i something incorrect? (I don't think so).
Flameancer commentedon Jul 13, 2024
Hello can this be reopened? This issue has not been fixed yet.

StevenBucher98 commentedon Jul 18, 2024
How did you originally get 7.4.2? Upgrading seems to work just fine for me.
StevenBucher98 commentedon Jul 22, 2024
Update this actually does not work, whenever I restart the latest version is not there.
StevenBucher98 commentedon Jul 23, 2024
7.4.3 update seems to be working again for me, seemingly no change to what I was doing...
avernigora-clgx commentedon Jul 23, 2024
no 7.4.4 is NOT available.
mycloud1 commentedon Aug 5, 2024
I finally found a forum where others are reporting same this issue that to me for all intents and purposes clearly have a problem with this install/upgrade (to PowerShell version 7.4.4), via winget.
StevenBucher98 commentedon Aug 5, 2024
Andrey Vernigora (@avernigora-clgx) 7.4.4 should be available now, there may be a day or two delay after GH releases are published to get the correct WinGet packages available. Please let me know if you are having any issues with upgrading it.
mycloud1 can you please elaborate on the issues you are hitting? Please give details of your environment and reproduction steps, if it is easier please open up a new issue.
mycloud1 commentedon Aug 6, 2024
Steven Bucher (@StevenBucher98) I was to reply say briefly that I run Windows 11 Pro 22H2 and done same that has been successful for me with PowerShell 7.4.2 (Two) and before to run script, (or variations of) winget install --id Microsoft.Powershell --source winget and wondering if because I didn't have Windows Feature Pack 23H2 if this might be the reason (have .NET 8.0.303), but just today this update looks as though it's going to apply to my computer through Windows Update, as opposed to me running a Winget command per Windows screenshot. Little bit odd behaviour, but ok - thanks for your reply. PS it isn't a big issue for me.
iCanHazConfetti commentedon Aug 17, 2024
the microsoft-github-policy-service bot asked "how did we do?"
FEEDBACK :
Since winget can not install the package via the Windows Package Manager (winget/WinGet/whatever), eg the PowerShell CLI :
PS> winget upgrade --id Microsoft.PowerShell --version 7.4.4.0 --source winget ) via the Windows Package Manager (winget) Source Repository...
I'd say this works "less-reliably-than-expected" as an end-user would "expect" the process to " just work", without error, and be 100% "stable/reliable"...
I was hoping for an "it just works" User Experience. Got an update forced by Windows Update, however, now I don't know if the "mechanism" that was causing the issue upgrading via winget was actually fixed?
Thank you for making it available in all of the "other" available formats it can be installed by, though.
Thanks for all of the Troubleshooting Assistance.