I need to pass some parameters to this start-process command in powershell. So far have been unable to make it work passing the parameters to the application. Seems like I cannot enclose in quotes my parameters to the application, without them, the command works fine.
Start-Process "c:\app\myApp.exe /S '/V /qn AllUsers=1 SN=123-456' " -NoNewWindow -Wait -PassThru
Is there any way to combine quotes inside quotes in powershell ? ... thanks
Looks like piping the parameter was the way to go: -PassThru | Wait-Process; this got us thru the issues. ... ty.