title: Powershell closing popup box
body: <p>I'm trying to create a popup window that stays open until the script finishes. </p>
  
  <p>I have the following code to create a popup box</p>
  
  <pre><code>$wshell = New-Object -ComObject Wscript.Shell
  
  $wshell.Popup("Operation Completed",0,"Done",0x1)
  
  $wshell.quit
  </code></pre>
  
  <p>I figured $wshell.quit would close the window, but it doesn't.  Is there a way to close this dialog box from within the script without user interaction?</p>