Skip to content

Powershell extension won't start #3526

@IceT-max

Description

@IceT-max

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all issues to ensure it has not already been reported.
  • I have read the troubleshooting guide.
  • I have verified that I am using the latest version of Visual Studio Code and the PowerShell extension.

Summary

Running the extension, also in a new computer with a fresh install with latest compontens, i obtain this error:

The terminal process "C:\Program Files\PowerShell\6\pwsh.exe '-NoProfile', '-NonInteractive', '-ExecutionPolicy', 'Bypass', '-Command', 'Import-Module 'c:\Users\user.vscode\extensions\ms-vscode.powershell-2021.8.2\modules\PowerShellEditorServices\PowerShellEditorServices.psd1'; Start-EditorServices -HostName 'Visual Studio Code Host' -HostProfileId 'Microsoft.VSCode' -HostVersion '2021.8.2' -AdditionalModules @('PowerShellEditorServices.VSCode') -BundledModulesPath 'c:\Users\user.vscode\extensions\ms-vscode.powershell-2021.8.2\modules' -EnableConsoleRepl -StartupBanner '=====> PowerShell Integrated Console v2021.8.2 <=====
' -LogLevel 'Normal' -LogPath 'c:\Users\user.vscode\extensions\ms-vscode.powershell-2021.8.2\logs\1629890092-e9128c08-26bb-4a7a-8b04-ec955914db821629890016515\EditorServices.log' -SessionDetailsPath 'c:\Users\user.vscode\extensions\ms-vscode.powershell-2021.8.2\sessions\PSES-VSCode-29028-233472' -FeatureFlags @() '" terminated with exit code: 1.

PowerShell Version

Name                           Value                                                                                                                                     
----                           -----                                                                                                                                     
PSVersion                      5.1.19041.1151                                                                                                                            
PSEdition                      Desktop                                                                                                                                   
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                                                                   
BuildVersion                   10.0.19041.1151                                                                                                                           
CLRVersion                     4.0.30319.42000                                                                                                                           
WSManStackVersion              3.0                                                                                                                                       
PSRemotingProtocolVersion      2.3                                                                                                                                       
SerializationVersion           1.1.0.1

Visual Studio Code Version

1.59.1

Extension Version

Fresh install.

Steps to Reproduce

Fresh install of code, and extension and running the 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