Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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:

↑ Back to the top


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.

↑ Back to the top


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.
 

↑ Back to the top


More Information

For more information about the products that are compatible and incompatible with Windows Management Framework 5.0, see Product Compatibility Status.

↑ Back to the top


Status

Microsoft is researching this problem and will post more information in this article when the information becomes available. 

↑ Back to the top


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

↑ Back to the top


Keywords: kb, kbsurveynew, kbfix, kbexpertiseinter

↑ Back to the top

Article Info
Article ID : 3169706
Revision : 4
Created on : 4/12/2017
Published on : 4/13/2017
Exists online : False
Views : 267