How to Use PowerShell Start-Job for Background Tasks
PowerShell is one of my favorite tool when it comes to automation. It has lot of functionalities and one of its cool features is Start-Job. This will let you run tasks in the background while you keep using PowerShell for other things. Start-Job is ideal to use when … Tasks take a long time to complete You want to avoid module conflicts by isolating them in separate jobs You need to resolve assembly conflicts by running jobs in isolated processes How to Use Start-Job I will try to explain this with a simple example below. ...