Hallo
Ich möchte von Server A (srv-le-vmonprd) auf Rechner B (srv-le-vmonpr1) ein PowerShell Script starten, erhalte aber immer
Invoke-Command -ComputerName srv-le-vmonpr1 -ScriptBlock { Get-Process } -Credential adminaccount
[srv-le-vmonpr1] Connecting to remote server tpcs-le-vmonpr1 failed with the following error message : The WinRM client cannot process the request. It cannot determine the content
type of the HTTP response from the destination computer. The content type is absent or invalid. For more information, see the about_Remote_Troubleshooting Help topic.
+ CategoryInfo : OpenError: (srv-le-vmonpr1:String) [], PSRemotingTransportException
+ FullyQualifiedErrorId : -2144108297,PSSessionStateBroken
Die Rechner sind im gleich Subnetz, bei beiden ist die Firewall abgeschaltet und auch der Account ist auf beiden System Administrator.
PS C:\Windows\system32> winrm e winrm/config/listener
Listener
Address = *
Transport = HTTP
Port = 5985
Hostname
Enabled = true
URLPrefix = wsman
CertificateThumbprint
ListeningOn = 10.10.10.10, 127.0.0.1, ::1
Hat jemand eine Idee wo hier das Problem liegt, mit Google suche bin ich auch nicht weitergekommen.
Danke und Gruss