title: Can't use Get-Service –ComputerName on remote computer
body: <p>I have a windows 2003 box setup with virtual box and I can't powershell to work with it.</p>
  
  <p>I try this on my windows 7 machine</p>
  
  <pre><code>Get-Service –ComputerName myserver
  </code></pre>
  
  <p>I get back</p>
  
  <pre><code>Get-Service : Cannot open Service Control Manager on computer 'myserver'. This operation might require other privileges.
  At Script1.ps1:2 char:4
  + gsv &lt;&lt;&lt;&lt;  -cn myserver
      + CategoryInfo          : NotSpecified: (:) [Get-Service], InvalidOperationException
      + FullyQualifiedErrorId : System.InvalidOperationException,Microsoft.PowerShell.Commands.GetServiceCommand
  </code></pre>
  
  <p>While searching around I found I should try and use <code>Enable-PSRemoting</code>.</p>
  
  <p>I did this and now when I try to use it I get </p>
  
  <blockquote>
    <p>WinRM already is set up to receive requests on this machine. WinRM
    already is set up for remote management on this machine.</p>
  </blockquote>
  
  <p>Yet I still get the same error. Is this because I am using a virtual machine? I setup the virtual OS to be on my domain and I can even use my AD account credentials to log in.</p>
  
  <p>I can get other information back from it.  </p>
  
  <p>So it is not like I can't connect to it with powershell.</p>