title: Powershell Backgroundworker
body: <p>Can anyone give me an example of how to use BackgroundWorker in Powershell?</p>
  
  <p>I want to write something so when a new tab is selected in my Powershell GUI app, it will switch to the tab with a "please wait" message displayed, then run some checks in a BackgroundWorker thread, and then update.</p>
  
  <p>Is this possible in Powershell? All the Googling I've done points to c# or VB.Net.</p>
  
  <p>Cheers,</p>
  
  <p>Ben</p>