Skip to content

Running the contributed command: 'PowerShell.ShowSessionMenu' failed. #2895

@jithinvijayan

Description

@jithinvijayan

Issue Description

I recently installed vscode and the powershell extension. I am since seeing the error "Running the contributed command: 'PowerShell.ShowSessionMenu' failed." whenever vscode starts up. As a result, while the powershell terminal works fine, none of the powershell extension features in the editor works (like command completion, displaying switches, etc).

Similar to issue#[2822](#2822
EditorServices.log
StartEditorServices.log
vscode-powershell.log

), however I don't have PS core installed.

Attached Logs

Follow the instructions in the README about
capturing and sending logs.

Environment Information

Visual Studio Code

Name Version
Operating System Windows_NT x64 10.0.17763
VSCode 1.48.0
PowerShell Extension Version 2020.6.0

PowerShell Information

Name Value
PSVersion 5.1.17763.1007
PSEdition Desktop
PSCompatibleVersions 1.0 2.0 3.0 4.0 5.0 5.1.17763.1007
BuildVersion 10.0.17763.1007
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

Visual Studio Code Extensions

Visual Studio Code Extensions(Click to Expand)
Extension Author Version
code-settings-sync Shan 3.4.3
powershell ms-vscode 2020.6.0
python ms-python 2020.8.101144
shellcheck timonwong 0.9.0
vscode-icons vscode-icons-team 10.2.0

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