http://stackoverflow.com/questions/7908000/run-an-application-with-powershell-and-wait-until-it-is-finished 

have you seen this ?