I have been doing a lot of powershell scripting for my senior thesis. I had the need to run a background job and did not find helpful information through searching Google so I figured I would post this.

Powershell 2 support running scripts in the background with a simple command. The only caveat is that it will only run other powershell scripts.

Start a background job: $job=start-job “script.ps1”

Wait for the job to finish: wait-job($job)