edweird13
edweird13

Reputation: 11

Powershell script to wait for process to complete

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

Answers (1)

neontapir
neontapir

Reputation: 4736

Wait-Process should accomplish this. See the documentation at http://technet.microsoft.com/en-us/library/hh849813.aspx.

Upvotes: 1

Related Questions