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