-
Notifications
You must be signed in to change notification settings - Fork 477
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PSRemoting: "An error occurred while creating the pipeline" error during exection of commands inside of a session #3025
Comments
Thanks @SSvilen a few questions to help us further debug... does this work outside of VSCode in Windows PowerShell? What kind of PowerShell remoting are you using? And what version of PowerShell is the client and what version is the target? |
does this work outside of VSCode in Windows PowerShell? What kind of PowerShell remoting are you using? And what version of PowerShell is the client and what version is the target? Name Value
---- -----
PSVersion 5.1.14393.3866
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.14393.3866
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1 |
Thanks @SSvilen does this also occur while debugging, or using F8? |
Actually it happens when I just open new session from the integrated console and then from inside the session I do 'ls'. |
Thanks @SSvilen, would it be possible for you to test in your environment if you create a ps1 file with |
Hi @SydneyhSmith , when I try to do psedit c:\temp\test.ps1 inside of the session, I'm facing the same behaviour, until at some point the PS extension crashes with:
May be it's somehow related to the fairly strict and locked down environment, where I work. |
Thanks @SSvilen that is great information! Instead of doing a psedit, could you try opening a new file with the line |
@SydneyhSmith How do I open it without psedit? That's the only way I know to open a file for execution in a remote session. |
Do this:
|
This issue is being closed as inactive, if this issue is still occurring it will be re-opened |
Issue Description
I am experiencing a problem with psremoting - when using a command inside of a remote session I get a screen full with the following error until I hit Ctrl+C:
That happens only with PS 5, but not with PS 7.
An error occurred while creating the pipeline.
+ CategoryInfo : NotSpecified: (:) [], RuntimeException
+ FullyQualifiedErrorId : RuntimeException
Attached Logs
All logs are attached.
Logs.zip
Environment Information
Visual Studio Code
PowerShell Information
Visual Studio Code Extensions
Visual Studio Code Extensions(Click to Expand)
The text was updated successfully, but these errors were encountered: