I have a machine that has Windows Server 2012 R2 installed on it. I just installed RSAT on my ThinkPad Tablet which runs Windows 8.1. I'm trying to add my server in the client's trusted host list with -
winrm set winrm/config/client @{TrustedHosts=”MyServer”}
But getting the error message that says -
Syntax error: input must be of the form {key ="value"[;key="value"]}
I ran into the same issue while I was trying this same thing on my desktop machine, but somehow I fixed it and I cannot remember exactly how. Only difference is my desktop machine runs 64bit Windows 8.1 and my tablet runs 32bit Windows 8.1.
Can anyone help?