Remote PowerShell can't connect after an upgrade to Windows Management Framework 5.0

Symptoms
After you upgrade to Windows Management Framework 5.0 by installing update 3134758 on a server that is running Microsoft Lync Server 2013 or Microsoft Skype for Business Server 2015, Remote Windows PowerShell can't make a connection.

When this problem occurs, you may receive the following error message:

PS C:\Windows\system32> $session = New-PSSession -ConnectionUri "https:///OcsPowershell" -Credential
$credential -SessionOption $sessionOption
New-PSSession : [<ServerName>] Connecting to remote server <ServerName> failed with the following error
message: The SSL connection cannot be established. Verify that the service on the remote host is properly configured
to listen for HTTPS requests. Consult the logs and documentation for the WS-Management service running on the
destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following command on the
destination to analyze and configure the WinRM service: "winrm quickconfig -transport:https". For more information,
see the about_Remote_Troubleshooting Help topic.
At line:1 char:12
+ $session = New-PSSession -ConnectionUri "https:///OcsPowershe/OcsPowershe ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
gTransportException
+ FullyQualifiedErrorId : -2144108102,PSSessionOpenFailed

Additionally, the following entry may be logged in the event log:

Log Name: System
Source: Microsoft-Windows-WAS
Date: 06-04-2016 15:46:12
Event: 5011
Task Category: None
Level: Warning
Keywords: Classic
User: N/A
Computer: <ServerName>
Description:
A process serving application pool 'LyncIntManagement' suffered a fatal communication error with the Windows Process Activation Service. The process id was '<PID>'. The data field contains the error number.

Cause
This problem occurs because Lync Server 2013 and Skype for Business 2015 Management Shells are not currently compatible with Windows Management Framework 5.0.
Resolution
To resolve this problem, you must uninstall update 3134758 from the affected computers, and then restart the system. In this situation, the affected computers includes both the Admin host on which Windows PowerShell is run and the target Lync or Skype for Business servers.
More information
For more information about the products that are compatible and incompatible with Windows Management Framework 5.0, see Product Compatibility Status.
Status
Microsoft is researching this problem and will post more information in this article when the information becomes available. 
References
For more information about Windows Management Framework 5.0, including expanded system requirements and a product download page, see the following Windows article:


Also, see the following Microsoft Knowledge Base articles:

3134758 Windows Management Framework 5.0 RTM on Windows 8.1 and Windows Server 2012 R2

3134759 Windows Management Framework 5.0 RTM on Windows Server 2012

3134760 Windows Management Framework 5.0 RTM on Windows 7 SP1 and Windows Server 2008 R2 SP1
Properties

Article ID: 3169706 - Last Review: 06/07/2016 16:39:00 - Revision: 1.0

Windows Server 2012 R2 Datacenter, Windows Server 2012 R2 Standard, Windows Server 2012 R2 Essentials, Windows Server 2012 R2 Foundation, Windows 8.1 Enterprise, Windows 8.1 Pro, Windows 8.1

  • kbsurveynew kbfix kbexpertiseinter KB3169706
Feedback