Reputation: 11
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.
Upvotes: 0
Views: 1017
Reputation: 4736
Wait-Process
should accomplish this. See the documentation at http://technet.microsoft.com/en-us/library/hh849813.aspx.
Upvotes: 1