Am I completely missing the puzzle here? Under normal circumstances the easiest thing to do is "build" out your command line and then display it to the screen to make sure it looks like it supposed to....

 Code:
$cmd='runnas.exe /user:joe KIX32.EXE kixScript.kix $passedFile="C:\something or the other.txt"'
? $cmd
;shell $cmd