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

Applies to: Windows Server 2012 R2 DatacenterWindows Server 2012 R2 StandardWindows Server 2012 R2 Essentials More

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:

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 fix this issue, install the Update for Windows Management Framework 5.1 that are compatible with Skype for Business 2015 (Lync 2013).
 
Note For more information about Windows Management Framework 5.1, see Windows Management Framework (WMF) 5.1 Release Notes.
 

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