Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 8583

Issue with PSRemoting - Error with error code 14 occurred while calling method WSManPluginReceiveResult

$
0
0

Hello !

I'm trying to enable PSremoting.

On my remote host :

 

I have enabled Enable-PSRemoting’ (enabled on control and remote host)

 

 

Get-host

Name             : ConsoleHost

Version          : 2.0

InstanceId       : 3d22cc4c-1a86-44cb-b681-5914ecc20208

UI               : System.Management.Automation.Internal.Host.InternalHostUserInterface

CurrentCulture   : en-US

CurrentUICulture : en-US

PrivateData      : Microsoft.PowerShell.ConsoleHost+ConsoleColorProxy

IsRunspacePushed : False

Runspace         : System.Management.Automation.Runspaces.LocalRunspace

 

 

 

Get-service winrm

Status   Name               DisplayName

------   ----               -----------

Running  winrm              Windows Remote Management (WS-Manag...

 

Get-PSProviders

Name                 Capabilities                                      Drives

----                 ------------                                      ------

WSMan                Credentials                                       {WSMan}

Alias                ShouldProcess                                     {Alias}

Environment          ShouldProcess                                     {Env}

FileSystem           Filter, ShouldProcess                             {C, D, G, I...}

Function             ShouldProcess                                     {Function}

Registry             ShouldProcess, Transactions                       {HKLM, HKCU}

Variable             ShouldProcess                                     {Variable}

Certificate          ShouldProcess                                     {cert}

From the control server, i ran the following command which resulted in error :
PS C:\Users\adminjw> Enter-PSSession drsdbsql02
Enter-PSSession : Processing data from remote server failed with the following error message: Error with error code 14
occurred while calling method WSManPluginReceiveResult. For more information, see the about_Remote_Troubleshooting Help
topic.
At line:1 char:16
+ Enter-PSSession <<<<  drsdbsql02
    + CategoryInfo          : InvalidArgument: (drsdbsql02:String) [Enter-PSSession], PSRemotingTransportException
    + FullyQualifiedErrorId : CreateRemoteRunspaceFailed
I even tried the other way round (from the remote server to the control host) it fails the same way.
Any advice or suggestions would be appreciated :)

 


Viewing all articles
Browse latest Browse all 8583

Trending Articles