You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When executing PowerShell code in Visual Studio Code, the executed command(s) get re-inserted into the terminal on the next line after completion (pic for clarity).
Versions I was running:
Extension: 2022.6.1
VS Code: 1.68.1
PowerShell: 7.2.5
OS: Windows 10 (OS Build 19043.1766)
I rolled back the extension to 2022.5.1 and the issue went away. Before rolling back the extension I tried rolling back VSCode to the previous version (1.67.2), but that did not resolve the issue. Rolling back the extension worked on both versions of VSCode. I did not try rolling back PowerShell.
PowerShell Version
PS C:\> $PSVersionTableName Value---- -----PSVersion 7.2.5PSEdition CoreGitCommitId 7.2.5OS Microsoft Windows 10.0.19043Platform Win32NTPSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}PSRemotingProtocolVersion 2.3SerializationVersion 1.1.0.1WSManStackVersion 3.0
Prerequisites
Summary
When executing PowerShell code in Visual Studio Code, the executed command(s) get re-inserted into the terminal on the next line after completion (pic for clarity).

Versions I was running:
Extension: 2022.6.1
VS Code: 1.68.1
PowerShell: 7.2.5
OS: Windows 10 (OS Build 19043.1766)
I rolled back the extension to 2022.5.1 and the issue went away. Before rolling back the extension I tried rolling back VSCode to the previous version (1.67.2), but that did not resolve the issue. Rolling back the extension worked on both versions of VSCode. I did not try rolling back PowerShell.
PowerShell Version
Visual Studio Code Version
Extension Version
Steps to Reproduce
With code in the editor window, press F5 or the run button; or select some code and press F8 or the run selection button.
The example I had in the screenshot was a .ps1 file that only contained:
...to keep the screenshot simple.
Visuals
No response
Logs
No response
The text was updated successfully, but these errors were encountered: