Skip to content

"Prompt To Update PowerShell" does not update PS anymore #4747

Closed
@GreatTeacherBasshead

Description

@GreatTeacherBasshead

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all open and closed issues to ensure it has not already been reported.
  • I have read the troubleshooting guide.
  • I am sure this issue is with the extension itself and does not reproduce in a standalone PowerShell instance.
  • I have verified that I am using the latest version of Visual Studio Code and the PowerShell extension.
  • If this is a security issue, I have read the security issue reporting guidance.

Summary

After #2105 was implemented, the extension gave an opportunity to update PS to the latest version.

Now it only offers to download it from GitHub:
"PowerShell v7.3.6 is out-of-date. The latest version is 7.3.7. Would you like to open the GitHub release in your browser?"

PowerShell Version

Name                           Value                                                                                                                                                                                 
----                           -----                                                                                                                                                                                 
PSVersion                      7.3.7                                                                                                                                                                                 
PSEdition                      Core                                                                                                                                                                                  
GitCommitId                    7.3.7                                                                                                                                                                                 
OS                             Microsoft Windows 10.0.22000                                                                                                                                                          
Platform                       Win32NT                                                                                                                                                                               
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}                                                                                                                                                                 
PSRemotingProtocolVersion      2.3                                                                                                                                                                                   
SerializationVersion           1.1.0.1                                                                                                                                                                               
WSManStackVersion              3.0

Visual Studio Code Version

Version: 1.82.2 (system setup)
Commit: abd2f3db4bdb28f9e95536dfa84d8479f1eb312d
Date: 2023-09-14T05:55:25.390Z
Electron: 25.8.1
ElectronBuildId: 23779380
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Windows_NT x64 10.0.22000

Extension Version

ms-vscode.powershell@v2023.6.0

Steps to Reproduce

Start VS Code PowerShell extension

Visuals

No response

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions