Skip to content

Use of SemanticVersion in $PSVersionTable Breaks Remoting #1589

@mirichmo

Description

@mirichmo

Steps to reproduce

$s = New-PSSession .

Expected behavior

Actual behavior

nsn : [10.123.170.144] Connecting to remote server 10.123.170.144 failed with the following error message : The WSMan provider host process did not return a proper response. A provider in the host process may have behaved improperly.
For more information, see the about_Remote_Troubleshooting Help topic.
At line:1 char:6

  • $s = nsn -ComputerName .
  •  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
      gTransportException
    • FullyQualifiedErrorId : 1726,PSSessionOpenFailed

Environment data

6.0.0-alpha8

Root cause:

PSRP does not support serialization and deserialization of SemanticVersion.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions