title: Starting Powershell elevated from PSExec (enable-psremoting)
body: <p>I'm trying to enable-psremoting with PSexec on my servers with the following command:</p>
  
  <pre><code>psexec.exe \\server cmd /c "echo . | powershell (-verb runas -argumentlist (enable-psremoting -force))"
  </code></pre>
  
  <p>but it doesn't work. I'm guessing I'm messing up my double quotes. Any help?</p>
  
  <p>Sune:)</p>