title: PowerShell - How to use 'Start-Process' and rename the newly launched windowtitle
body: <p>I am trying to use the PowerShell (version 2) <code>Start-Process</code> and rename the newly launched window title. I have the following snippet of code that works fine, it launches a new PowerShell window and tails logs (<code>$c</code> contains the log file to tail):-</p>
  
  
  
  <pre class="lang-powershell prettyprint-override"><code>Start-Process powershell.exe -Argument "Get-Content", $c, "-wait" 
  </code></pre>
  
  <p>I am not sure how to include the following so that the newly launched window title can be changed.</p>
  
  <pre class="lang-powershell prettyprint-override"><code>$host.ui.RawUI.WindowTitle = 'New window title rename example text'
  </code></pre>
  
  <p>Cheers.</p>