title: Powershell Start-Job not behaving correctly
body: <p>I have several PHP scripts, which execute a Powershell Script to obtain performance counters of my server infrastructure. As I have multiple scripts, I wanted to execute them all at the same time, from just one location.</p>
  
  <p>I have created the following Start-Job script, which when run in the ISE, works perfectly fine.</p>
  
  <p><a href="https://i.stack.imgur.com/ZxapA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZxapA.png" alt="Start-Job Script"></a></p>
  
  <p>When I run the ps1 script itself, using the below command, I get a list of the jobs that have started, but nothing actually happens. It just doesn't do anything, but also gives me zero errors.</p>
  
  <p><a href="https://i.stack.imgur.com/VSiaw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VSiaw.png" alt="Executing PS1 file"></a></p>
  
  <p>So, what am I missing?</p>