To start a application and wait for exit in Powershell you can use the following snippet.
Sample Powershell
start-process -filepath "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe" -Wait -NoNewWindow -argumentlist '-args'
for more informations take a look at the MSDN Start-Process
RT @CodeSnippetsNET: How to start a process and wait for exit in #Powershell http://t.co/HzCK74vNTV #programming