I can't get remote powershell to work with a Hyper-V 2012 R2 server, when I try to use Enter-PSSession or Invoke-Command, I get this error:
All machines are in domain, Enable-psremoting configuration is done on server and I've verified that port 5985 is open. PS Remoting works fine with other non-R2 Hyper-V 2012 servers in this domain and there is not much information about this specific error on google. Not sure what to check next, maybe someone more experienced can help?
Code:
Enter-PSSession : Connecting to remote server hv2012r2.aatos.com failed with the following error message : The WSMan service could not launch a host process to process the given request.
Make sure the WSMan provider host server and proxy are properly registered. For more information, see the about_Remote_Troubleshooting Help topic.
At line:1 char:1
+ hv2012r2.aatos.com -Credential aatos\aatos
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (hv2012r2.aatos.com:String) [Enter-PSSession], PSRemotingTransportException
+ FullyQualifiedErrorId : CreateRemoteRunspaceFailed
All machines are in domain, Enable-psremoting configuration is done on server and I've verified that port 5985 is open. PS Remoting works fine with other non-R2 Hyper-V 2012 servers in this domain and there is not much information about this specific error on google. Not sure what to check next, maybe someone more experienced can help?