Powershell scripts in WinRM deployments don't give colored output
Y
Yarrow Impala
I am trying to build pipelines to deploy to Windows VMs using WinRM as the deployment type. For this I would like to request that the PowerShell scripts we run on the VM give colored output in the console logs.
For example, if run a command with the script:
Write-Host "hi" -ForegroundColor Red
I expected to see this in red on the console logs in Harness, which is currently not happening. Example:https://wellsfargo-dev.harness.io/ng/account/vR35wIXITtmNprd-oG9eeg/all/orgs/default/projects/k087885dummy/pipelines/VM_POC/executions/f-qnlnsbRf6fZ-4zexzwOA/pipeline?step=SQk06H1WSGq4tsq8WWU1wg&stage=m5GafmzURl-W84rdcT8lvA&childStage=&stageExecId=5tBNkZY9TNaF3VuKskivmg
Colored output works for Linux VMs (SSH deployment type) and we would request it work for Windows VMs too. Not having colored logs makes the logs very complicated and difficult to debug.
Log In