It’s not the first time I struggle to pass parameters containing spaces to an executable from powershell. And since I finally managed to get it right, I will not miss that chance to document it for my future self.
Pay attention to the back-ticks to escape the double quotes…
And pay attention to how it checks for the exit code (don’t forget the -PassThru parameter to get the process object out).
Here is the small powershell wrapper I used for the roundhouse excutable.