title: Install Multiple msi files consecutively
body: <p>I have just recently started using (and learning how to) script. I am using Powershell ISE and am trying to create a script that can be run on a new computer to install multiple/various programs. I have the programs in both .exe and .msi and want the programs to install silently, and consecutively. Again I am a beginner, but have put together the script below to get this done. I am trying to find out what variable/command will ensure that the programs install one by one. </p>
  
  <pre><code>msiexec.exe /q /i '\\Server\Folder\Applications\msi files\file.msi'
  msiexec.exe /q /i '\\Server\Folder\Applications\msi files\file.msi'
  msiexec.exe /q /i '\\Server\Folder\Applications\msi files\file.msi'
  msiexec.exe /q /i '\\Server\Folder\Applications\msi files\file.msi'
  msiexec.exe /q /i '\\Server\Folder\Applications\msi files\file.msi'
  msiexec.exe /q /i '\\Server\Folder\Applications\msi files\file.msi'
  </code></pre>
  
  <p>I originally started this as a .bat file, and can run it to install the .exe files just fine, however they all run at the same time. Therefore, I figured creating a script (rather than a .bat file) would be my best bet. Any and all input and or help is greatly appreciated!</p>