Check that WinRM is installed and running on server %ServerName;. For more information use the command "winrm helpmsg hresult" ...