Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PowerShell module v1.9.2505 broken on PowerShell v7.4.5 #4829

Open
o-l-a-v opened this issue Sep 24, 2024 · 2 comments
Open

PowerShell module v1.9.2505 broken on PowerShell v7.4.5 #4829

o-l-a-v opened this issue Sep 24, 2024 · 2 comments
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. PowerShell Issue related to WinGet PowerShell Module or cmdlet

Comments

@o-l-a-v
Copy link

o-l-a-v commented Sep 24, 2024

Brief description of your issue

1.9.2411 worked just fine, but with the recently released 1.9.2505 I can't even do the following:

PS > Microsoft.WinGet.Client\Get-WinGetPackage -Source 'Winget'

Get-WinGetPackage: Operation is not supported on this platform. (0x80131539)

PS >

Steps to reproduce

  • Run PowerShell v7.4.5 x64 on Windows 11 23H2
    • If you want to make sure your profile does not mess with anything, WIN + R pwsh -noprofile
  • Run Microsoft.WinGet.Client\Get-WinGetPackage -Source 'WinGet'

Expected behavior

Should work as previous version of said module (Microsoft.WinGet.Client).

Actual behavior

Crashes

Environment

  • Not using the WinGet client.
  • winget --version = v1.8.1911
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Sep 24, 2024
@denelon denelon added Issue-Bug It either shouldn't be doing this or needs an investigation. PowerShell Issue related to WinGet PowerShell Module or cmdlet and removed Needs-Triage Issue need to be triaged labels Sep 24, 2024
@denelon
Copy link
Contributor

denelon commented Sep 24, 2024

@o-l-a-v thanks for reporting this!

We're working to get a fix out ASAP.

@o-l-a-v o-l-a-v changed the title [Request]: PowerShell module v1.9.2505 broken on PowerShell v7.4.5 PowerShell module v1.9.2505 broken on PowerShell v7.4.5 Sep 24, 2024
@denelon denelon pinned this issue Sep 24, 2024
@JohnMcPMS
Copy link
Member

The new version has been delisted to prevent further impact.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. PowerShell Issue related to WinGet PowerShell Module or cmdlet
Projects
None yet
Development

No branches or pull requests

3 participants