Use a backtick ` to escape your special double quote, so this:

powershell -noexit -command $str = \"hello '123' world\"; write-host $str

becomes this:

powershell -noexit -command $str = \"hello '123'`” world\"; write-host $str

+ Recent posts