# Connect-PSSession from server running powershell 5

**URL:** <https://forums.powershell.org/t/connect-pssession-from-server-running-powershell-5/6484>\
**Category:** PowerShell Help\
**Created:** [May 19, 2016, 5:21am UTC](https://forums.powershell.org/t/connect-pssession-from-server-running-powershell-5/6484 "2016-05-19T05:21:02Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![bluemahakala](https://avatars.discourse-cdn.com/v4/letter/b/94ad74/32.png) [@bluemahakala](https://forums.powershell.org/u/bluemahakala)\
**Post date:** [May 19, 2016, 5:21am UTC](https://forums.powershell.org/t/connect-pssession-from-server-running-powershell-5/6484/1 "2016-05-19T05:21:02Z")

</div>

I have created remote disconnected pssession on a large number of servers. When I attempt to reconnect them, I receive this error:

‘Windows Powershell does not support connect operation on the protocolversion 2.3 negotiated by the client. Make sure the client is compatible with the build 6.2.9200.17065 and the protocol version 2.2 of Windows Powershell’

I created the remote sessions from a server running powershell 5.0.10586.117, and the remote servers are running Server 2012 with powershell 1.

Before I upgraded my remote admin machine to powershell 5, I could connect remote disconnected pssessions without errors.

Is there a sessionOption or some other workaround I can use?

---

<div class="post-metadata">

**Author:** ![donj](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/donj/32/137_2.png) [@donj](https://forums.powershell.org/u/donj)\
**Post date:** [May 19, 2016, 5:41am UTC](https://forums.powershell.org/t/connect-pssession-from-server-running-powershell-5/6484/2 "2016-05-19T05:41:13Z")

</div>

The remote servers are definitely not running PowerShell 1. PowerShell 1 didn’t have Remoting, and doesn’t run on Win2012.

They’re likely running v2, but you’d need to check. The older Remoting protocol in v2 doesn’t support disconnect/connect. Run $PSVersionTable on both machines and paste the results here - that’ll help diagnose things.

Bottom line, though, if the two copies of PowerShell aren’t connecting over a compatible version of the protocol, then there’s nothing you can do to change this.

---

<div class="post-metadata">

**Author:** ![bluemahakala](https://avatars.discourse-cdn.com/v4/letter/b/94ad74/32.png) [@bluemahakala](https://forums.powershell.org/u/bluemahakala)\
**Post date:** [May 19, 2016, 5:47am UTC](https://forums.powershell.org/t/connect-pssession-from-server-running-powershell-5/6484/3 "2016-05-19T05:47:56Z")

</div>

Hi Don, thanks for the reply. Here’s the output:

PSVersion: 3.0  
WSManStackVersion: 3.0  
SerializationVersion: 1.1.0.1  
CLRVersion: 4.0.30319.18449  
BuildVersion: 6.2.9200.17065  
PSCompatibleVersion: {1.0,2.0,3.0}  
PSRemotingProtocolVersion: 2.2

My admin machine, which I’m connecting from, has PSRemotingProtocolVersion = 2.3

---

<div class="post-metadata">

**Author:** ![donj](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/donj/32/137_2.png) [@donj](https://forums.powershell.org/u/donj)\
**Post date:** [May 19, 2016, 6:01am UTC](https://forums.powershell.org/t/connect-pssession-from-server-running-powershell-5/6484/4 "2016-05-19T06:01:39Z")

</div>

Seems odd. v3 supported disconnect/reconnect. However, it apparently isn’t working between those two different versions. Not much you can do about it, unfortunately. It’s possible it’s a bug, actually.

---

<div class="post-metadata">

**Author:** ![bluemahakala](https://avatars.discourse-cdn.com/v4/letter/b/94ad74/32.png) [@bluemahakala](https://forums.powershell.org/u/bluemahakala)\
**Post date:** [May 19, 2016, 10:31am UTC](https://forums.powershell.org/t/connect-pssession-from-server-running-powershell-5/6484/5 "2016-05-19T10:31:04Z")

</div>

Don, nothing’s changed on the target server side, only on my admin workstation, where I installed WMF5.

If this is indeed a bug, how do I let MS know?

---

<div class="post-metadata">

**Author:** ![donj](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/donj/32/137_2.png) [@donj](https://forums.powershell.org/u/donj)\
**Post date:** [May 19, 2016, 10:34am UTC](https://forums.powershell.org/t/connect-pssession-from-server-running-powershell-5/6484/6 "2016-05-19T10:34:19Z")

</div>

The UserVoice page for PowerShell.

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 8:41pm UTC](https://forums.powershell.org/t/connect-pssession-from-server-running-powershell-5/6484/7 "2024-05-16T20:41:12Z")

</div>

Closed on May 16, 2024, 8:41pm UTC


