PowerTip: Wait for PowerShell Job to Complete

Doctor Scripto

Summary: Learn how to wait for a Windows PowerShell job to complete.

Hey, Scripting Guy! Question How can I use Windows PowerShell to wait for a job that I have run to complete?

Hey, Scripting Guy! Answer Use the Wait-Job cmdlet, and specify the job ID, for example:

Wait-Job –ID 5


Discussion is closed.

Feedback usabilla icon