Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Wait for PowerShell Job to Complete

$
0
0

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


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>