-
Notifications
You must be signed in to change notification settings - Fork 522
Closed
Labels
Bug: PowerShell 5.1Bugs when using PowerShell 5.1.Bugs when using PowerShell 5.1.Issue-BugA bug to squash.A bug to squash.Resolution-DuplicateWill close automatically.Will close automatically.
Description
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
During usage of the Powershell Extension, it all of a sudden stops displaying data contained in Variables, like in the example below:

All of a sudden, it will completly stop echoing data and I have to force it with Write-Host, or Output-GridView

As you can see in the screenshot above, not a single variable outputs any data.
I dont feel like Im doing anything weird, I have scripts open that I work on, and as soon as I kill the Terminal, it will start working again --- but then I will loose the variables I was working with, and also all connections I have with services like MS Teams and Azure.
PowerShell Version
Name Value
---- -----
PSVersion 5.1.22000.653
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.22000.653
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1Visual Studio Code Version
1.70.0
da76f93349a72022ca4670c1b84860304616aaa2
x64Extension Version
code --list-extensions --showversions | Select-String powershell
ms-vscode.powershellSteps to Reproduce
Have script open, get input stored into variable (I think, save the script) - variables no longer output.
Visuals
No response
Logs
No response
Metadata
Metadata
Assignees
Labels
Bug: PowerShell 5.1Bugs when using PowerShell 5.1.Bugs when using PowerShell 5.1.Issue-BugA bug to squash.A bug to squash.Resolution-DuplicateWill close automatically.Will close automatically.
