title: Automatically Go to the next line of a multiline text box
body: <p>I have a windows form into which im updating a text from powershell, just like a scripts progress status, im trying to auto move to a new line into the textbox but im unable to do that</p>
  
  <p>I tried [System.Environment]::NewLine but it did not work</p>
  
  <p><code>$nl = [System.Environment]::NewLine</code></p>
  
  <p><code>$i++</code></p>
  
  <p><code>$textbox1.Text = "PS $i&gt; Running Script"</code></p>
  
  <p><code>$textbox1.AppendText($nl)</code></p>
  
  <p><img src="https://i.stack.imgur.com/0jGbd.png" alt="enter image description here"></p>
  
  <p>Could Any of you guys helpe me out on how to move the cursor automatically to the next line
  Maybe Show </p>
  
  <p>PS2> Script Started</p>