title: How to keep the shell window open after running a PowerShell script?
body: <p>I have a very short PowerShell script that connects to a server and imports the AD module. I'd like to run the script simply by double clicking, but I'm afraid the window immediately closes after the last line.</p>
  
  <p>How can I sort this out?</p>