I would like to create a script to check for a running process. If said process is running wait for it to complete before moving on to next step.
1 Answer
Wait-Process should accomplish this. See the documentation at http://technet.microsoft.com/en-us/library/hh849813.aspx.