New-PSSession fails - WSMan client library not found
See original GitHub issueSteps to reproduce
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid -Credential $UserCredential -Authentication Basic -AllowRedirection
Actual behavior
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 -ConfigurationName Microsoft.Exchange -Conne ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (:) [New-PSSession], PSRemotingTransportException
+ FullyQualifiedErrorId : System.Management.Automation.Remoting.PSRemotingDataStructureException,Microsoft.PowerShell.Commands.NewPSSessionCommand
Environment data
Fresh installation on my macOS Sierra 10.12.6 without any previous versions. powershell-6.0.0-beta.5-osx.10.12-x64.pkg
> $PSVersionTable
Name Value
---- -----
PSVersion 6.0.0-beta
PSEdition Core
GitCommitId v6.0.0-beta.5
OS Darwin 16.7.0 Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/REL...
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Issue Analytics
- State:
- Created 6 years ago
- Comments:14
Top Results From Across the Web
Error "no supported WSMan client library was found." with ...
I get error from PowerShell: Enter-PSSession: This parameter set requires WSMan, and no supported WSMan client library was found. WSMan is ...
Read more >Powershell on macOS WSMan issue - Oasys Networking
Powershell on macOS WSMan issue ... This parameter set requires WSMan, and no supported WSMan client | library was found.
Read more >Powershell 7 - WSMAN issue - Tech Support - MPU Talk
The error is: “New-PSSession: This parameter set requires WSMan, and no supported WSMan client library was found. WSMan is either not ...
Read more >Local New-PSSession fails in official powershell linux ...
In both alpine and debian I am getting error: This parameter set requires WSMan, and no supported WSMan client library was found. WSMan...
Read more >PowerShell Remoting on Rapsberry Pi
New-PSSession : This parameter set requires WSMan, and no supported WSMan client library was found. WSMan is either not installed or unavailable ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yes, you can test with latest nightly builds.
@iSazonov - Yes, 6.0.4 seems to work correctly.