title: powershell mandatory parameter and user input message box
body: <p>Good morning</p>
  <p>Is there a way I can have mandatory parameters filled up by user input in a message box?</p>
  <pre><code>Param(
  
    [Parameter(Mandatory=$True)][string]$parameter1,
    [Parameter(Mandatory=$True)][string]$parameter2,
    [Parameter(Mandatory=$True)][string]$parameter3
  
  )
  
  </code></pre>
  <p>For instance, I want a pop-up box with a text field which the user must fill-up the value required by the mandatory parameter</p>
  <pre><code>$confirm = [System.Windows.MessageBox]::Show('Please confirm you want to start)
  
  </code></pre>
  <p>thanks a million to anyone who answers.</p>