Replace Write-Host with Write-Output

`Write-Host` writes to the console while `Write-Output` writes to the pipeline. On Antares we cannot write to the console. However, if we write to the pipeline and no one reads it, it will end up in the console.

@lodejard @glennc please review