title: Gitlab CI Powershell with Write-Output
body: <p>I have a powershell build script that I am executing from Gitlab CI Pipelines.</p>
  
  <p>When run manually (on the build server) the build script runs fine, but when executed by the Gitlab CI runner it:</p>
  
  <ol>
  <li>Times out after an hour (runs for about 20 mins if run manually)</li>
  <li>Does not echo Write-Output statements into the build log</li>
  </ol>
  
  <p>So there is something going wrong when executed from Gitlab CI. However, as the Write-Output statements aren't displayed in the Build Log there is no real way to troubleshoot this.</p>
  
  <p>What do I need to do to get the Write-Output statements to display in the build log? I would have assumed any STDOUT messages would show there, but they're not coming through.</p>