0

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
  • possible duplicate of Waiting for an process to quit in PowerShell. You are not really specific on what kind of process but that question covers some simple examples. Commented Dec 4, 2014 at 15:22

1 Answer 1

1

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

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.