You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
New-PSSession does not find WSMan client library on RHEL72 #7485
New-PSSession : This parameter set requires WSMan, and no supported WSMan client library was found. WSMan is either not installed or unavailable for this system.
At line:1 char:12
+ $session = New-PSSession -URI $uri -ConfigurationName Microsoft.Excha ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (:) [New-PSSession], PSRemotingTransportException
+ FullyQualifiedErrorId : System.Management.Automation.Remoting.PSRemotingDataStructureException,Microsoft.PowerShell.Commands.NewPSSessionCommand
Environment data
>$PSVersionTable
Name Value
---------
PSVersion 6.0.4
PSEdition Core
GitCommitId v6.0.4
OS Linux 3.10.0-862.3.2.el7.x86_64 #1 SMP Tue May 15 18:22:15 EDT 2018
Platform Unix
PSCompatibleVersions {1.0,2.0,3.0,4.0...}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
The underlying problem is the links for libcrypto.so.1.0.0 and libssl.so.1.0.0 were not created by package.psm1. This occurs when building directly on redhat; something we typically do not do; we build on Centos and use it on redhat. See the logic for setting IsRedHatFamily in Get-EnvironmentInformation
A possible fix is to add an explicit IsRedHat variable and detection then update IsRedHatFamily to include it in the decision.
Activity
dantraMSFT commentedon Aug 9, 2018
The underlying problem is the links for libcrypto.so.1.0.0 and libssl.so.1.0.0 were not created by package.psm1. This occurs when building directly on redhat; something we typically do not do; we build on Centos and use it on redhat. See the logic for setting
IsRedHatFamilyin Get-EnvironmentInformationA possible fix is to add an explicit IsRedHat variable and detection then update
IsRedHatFamilyto include it in the decision.