
For your convenience we will list the cmdlets that are directly related to jobs. This article will not cover the ins and outs of jobs and it expects the user has some basic knowledge of the jobs mechanism in PowerShell.

In this case it will free up the GUI and allow it to respond to user input.

If you truly want to make your forms responsive, you will need to move these slow scripts into another thread and in the PowerShell world this means using jobs.įor those of you who aren’t familiar with PowerShell Jobs, they allow you to run scripts while freeing up the console to perform other tasks. Previously I discussed how to make your loops more responsive in this article, but not every long script comes in the form of a loop.

When working with GUIs you may have noticed that the Form can freeze when running long scripts.
