Converting msiexec command from cmd to powershell
问题 In my powershell script, I need to run couple of msiexec commands quietly. The problem is when I try to run the command, the Windows Installer help popup shows rather than executing the command. (Below Image) The same command runs well in cmd. Below is my command. I have kept the & in the command in double quotes to consider it as a string as suggested. & msiexec /log c:\msxml.log /quiet /I "&" D:\LoadGeneratorsetup\prerequisites\msxml6\msxml6_x64.msi I tried using Start-Process -FilePath to