title: Powershell Remoting Failing After Server Restore
body: <p>Our server had been set up to have Powershell Remoting enabled, so that we can remotely execute scripts from our developer machines. I should add that I am not massively fluent in Powershell and was not involved in setting this up.</p>
  
  <p>However recently our server suffered a fault and subsequently had to be restored. The restoration process was supposed to restore Windows back to its last backed up state including all programs and data. However since the restore, Powershell Remoting no longer works on the server.</p>
  
  <p>I receive the following error now when running <code>Enter-PSSession ServerName</code>.</p>
  
  <pre><code>Enter-PSSession : Connecting to remote server failed with the following error message : &lt;f:WSManFault xmlns:f="http://s
  chemas.microsoft.com/wbem/wsman/1/wsmanfault" Code="2147749890" Machine="ServerName"&gt;&lt;f:Message&gt;&lt;/f:Message&gt;&lt;/f:WSManFaul
  t&gt; For more information, see the about_Remote_Troubleshooting Help topic.
  At line:1 char:16
  + enter-pssession &lt;&lt;&lt;&lt;  ServerName
      + CategoryInfo          : InvalidArgument: (ServerName:String) [Enter-PSSession], PSRemotingTransportException
      + FullyQualifiedErrorId : CreateRemoteRunspaceFailed
  </code></pre>
  
  <p>Or I get the following error when running <code>New-PSSession ServerName</code></p>
  
  <pre><code>[ServerName] Connecting to remote server failed with the following error message : &lt;f:WSManFault xmlns:f="http://schemas.
  microsoft.com/wbem/wsman/1/wsmanfault" Code="2147749890" Machine="ServerName"&gt;&lt;f:Message&gt;&lt;/f:Message&gt;&lt;/f:WSManFault&gt; For
  more information, see the about_Remote_Troubleshooting Help topic.
      + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [], PSRemotingTransportExc
     eption
      + FullyQualifiedErrorId : PSSessionOpenFailed
  </code></pre>
  
  <p>(I have replaced the actual server name above with ServerName for privacy purposes)</p>
  
  <p>Any help is much appreciated</p>