Skip to content

Enable ISE Mode command fails in Azure Data Studio #3709

Closed
@williammsft

Description

@williammsft

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 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.

Summary

After installing the PowerShell Extension for Azure Data Studio and then attempting to enable the ISE mode an error comes up with "Command 'PowerShell: Enable ISE Mode' resulted in an error (Running the contributed command: "PowerShell:EnableISEMode' failed.)". This is preventing ISE mode from fully loading and being useable. All that needs to be done to reproduce this with the PowerShell Extension installed is running the PowerShell: Enable ISE Mode.

image

I would expect this to be similar to Visual Studio Code after launching. The version being reported by code --list-extensions --show-versions | Select-String powershell in Azure Data Studio is the same as the latest for Visual Studio Code, but the download reports 2021.8.2.

PowerShell Version

Name                           Value
----                           -----
PSVersion                      7.2.0
PSEdition                      Core
GitCommitId                    7.2.0
OS                             Microsoft Windows 10.0.19044
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

1.62.3
ccbaa2d27e38e5afa3e5c21c1c7bef4657064247
x64

Extension Version

ms-vscode.powershell@2021.10.2

Steps to Reproduce

  1. Install Azure Data Studio (latest version 1.33.1).
  2. Does` not matter if it is the insider build or not
  3. Add the Extension PowerShell v2021.8.2 (current).
  4. After adding the PowerShell Extension press F1.
  5. Then type >PowerShell: Enable ISE Mode.

Result:

  1. While the ISE mode attempts to start and few of the objects in Azure Data Studio load it does not complete successfully
  2. The below error is what is produced.
  3. Command 'PowerShell: Enable ISE Mode' resulted in an error (Running the contributed command: "PowerShell:EnableISEMode' failed.)

Visuals

No response

Logs

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions