-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Description
Hi,
I didn't find any info on this issue at all, I have no result when looking for the error code (2689860592).
Steps to reproduce
Install Powershell 7.1 on a local and remote computer (I tried both with msi installer and windows store), enable WinRM on both computer (via Enable-PSRemoting)
Then set $PSSessionConfigurationName to the value "Powershell.7" (or "Powershell.7.1.0", or anything that get returned by Get-PSSessionConfiguration).
Then try to login via
$cred=Get-Credential;
Enter-PSSession -ComputerName XXX -Credential ${cred}
Note that it also happens with Powershell 5.1 on the client side. It looks like an issue on the server side.
I also reproduce it on several machine (all with Windows 10 Pro, 20H1 and 20H2)
Expected behavior
EnterPSSession gives a prompt for Pwsh 7
Actual behavior
Enter-PSSession: Connecting to remote server PC-VINCENT failed with the following error message : <f:WSManFault xmlns:f="http://schemas.microsoft.com/wbem/wsman/1/wsmanfault" Code="2689860592" Machine="PC-VINCENT"><f:Message><f:ProviderFault provider="PowerShell.7" path="C:\WINDOWS\system32\PowerShell\7.1.0\pwrshplugin.dll"></f:ProviderFault></f:Message></f:WSManFault> For more information, see the about_Remote_Troubleshooting Help topic.
There is no info on about_Remote_Troubleshooting.
Environment data
On the client :
Name Value
---- -----
PSVersion 7.1.0
PSEdition Core
GitCommitId 7.1.0
OS Microsoft Windows 10.0.19042
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
On the server (I get them by connecting via ssh) :
Name Value
---- -----
PSVersion 7.1.0
PSEdition Core
GitCommitId 7.1.0
OS Microsoft Windows 10.0.19042
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0