title: How to run a powershell script in runonce-Key?
body: <p>I have a call to powershell.exe that looks like this, and which works from my commandline:</p>
  
  <pre><code>powershell.exe -noexit -command " &amp; 'C:\Test\test.ps1' "
  </code></pre>
  
  <p>However, when I enter that entry exactly that way in the runonce-key of my current user, nothing happens.</p>
  
  <p>What is the correct way to call powershell.exe passing parameters from runonce or run?</p>