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)
Related
Related Posts
December 29, 2021
Five Traits of Highly Effective Solution Architects
The role of Solutions Architect is one of the most versatile, challenging, and…
August 10, 2021
Goodbye (and Good Riddance) EC2-Classic
AWS has recently announced the retirement of EC2-Classic, albeit a year from…