Skip to content

PSRemoting: "An error occurred while creating the pipeline" error during exection of commands inside of a session #3025

@SSvilen

Description

@SSvilen

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

image

Attached Logs

All logs are attached.
Logs.zip

Environment Information

Visual Studio Code

Name Version
Operating System Windows_NT x64 10.0.17763
VSCode 1.49.1
PowerShell Extension Version 2020.6.0

PowerShell Information

Name Value
PSVersion 5.1.17763.1432
PSEdition Desktop
PSCompatibleVersions 1.0 2.0 3.0 4.0 5.0 5.1.17763.1432
BuildVersion 10.0.17763.1432
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

Visual Studio Code Extensions

Visual Studio Code Extensions(Click to Expand)
Extension Author Version
azure-account ms-vscode 0.9.3
azure-pipelines ms-azure-devops 1.177.0
bracket-pair-colorizer CoenraadS 1.0.61
code-settings-sync Shan 3.4.3
csharp ms-dotnettools 1.23.4
csharpfixformat Leopotam 0.0.84
cshtml fireside21 0.1.3
gc-excelviewer GrapeCity 3.0.40
githistory donjayamanne 0.6.12
gitlens eamodio 10.2.2
mssql ms-mssql 1.9.0
powershell ms-vscode 2020.6.0
prettier-vscode esbenp 5.7.1
tabnine-vscode TabNine 3.0.3
terraform hashicorp 2.2.3
theme-cobalt2 wesbos 2.1.6
vscode-docker ms-azuretools 1.7.0
vscode-icons vscode-icons-team 11.0.0
vscode-kubernetes-tools ms-kubernetes-tools 1.2.1
vscode-yaml redhat 0.11.1
xml DotJoshJohnson 2.5.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions