Skip to content

PowerShell extension issue on Windows PowerShell 5.1 (ms-vscode.powershell@2025.4.0) #5367

@pvip-glitch

Description

@pvip-glitch

Environment:

  • PowerShell: 5.1.14393.576 (PSEdition: Desktop)
  • BuildVersion: 10.0.14393.576
  • CLRVersion: 4.0.30319.42000
  • WSManStackVersion: 3.0
  • PSRemotingProtocolVersion: 2.3
  • SerializationVersion: 1.1.0.1
  • VS Code: 1.108.0 (x64)
  • Extension: ms-vscode.powershell@2025.4.0

Describe the bug:
(Provide a short summary here)

Steps to reproduce:

  1. Open the
    epro-powershell-issue folder in VS Code.
  2. Ensure the PowerShell extension is installed.
  3. Run ./repro.ps1 in the integrated terminal.
  4. Observe the issue.

Artifacts (uploaded as a private gist):
https://gist.github.com/pvip-glitch/f7f18945a10f6721fd869b52c8cb12f8

Expected behavior:
(Describe expected behavior)

Actual behavior:
(Describe actual behavior and include errors / screenshots)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions