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?
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.
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.