title: Azure pipelines command line: give confirmation
body: <p>In one of my tasks in an Azure DevOps pipeline, I am trying to stop the IIS Server.
  This can be achieved by calling the command <code>net stop WAS</code> in the command prompt. Doing this manually, it asks for a confirmation</p>
  <p><a href="https://i.stack.imgur.com/YGAiy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YGAiy.png" alt="enter image description here" /></a></p>
  <p>Manually, I can just pres <code>Y</code> <code>ENTER</code>.
  But how would i do this in an azure task command?
  Simply adding a new line with <code>Y</code> does not work</p>
  <p><a href="https://i.stack.imgur.com/wLJ1R.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wLJ1R.png" alt="enter image description here" /></a>
  <a href="https://i.stack.imgur.com/cQvbR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cQvbR.png" alt="enter image description here" /></a></p>
  <p><strong>TLDR</strong> how do I add a confirmation to an azure task command line command?</p>