title: How to Use -confirm in PowerShell
body: <p>I'm trying to take user input and before proceeding I would like get a message on screen and than a confirmation, whether user wants to proceed or not. I'm using the following code but its not working:</p>
  
  <pre><code>write-host "Are you Sure You Want To Proceed:"  -Confirm
  </code></pre>