tag:help.appveyor.com,2012-11-13:/discussions/problems/13119-lossing-colors-when-using-powershellAppVeyor: Discussion 2018-03-21T14:43:07Ztag:help.appveyor.com,2012-11-13:Comment/449298732018-03-20T18:16:41Z2018-03-20T18:16:41ZLoosing colors when using powershell<div><p>bump</p></div>olivertag:help.appveyor.com,2012-11-13:Comment/449298732018-03-20T20:19:57Z2018-03-20T20:33:00ZLoosing colors when using powershell<div><p>Oliver,<br>
there is a special meaning for ampersand in YAML <a href="https://en.wikipedia.org/wiki/YAML#Advanced_components">https://en.wikipedia.org/wiki/YAML#Advanced_components</a><br>
That is why AppVeyor fails to parse it. Please quote your line:<br></p>
<pre>
<code>- ps: '& $env:posh -File "./Tools/setup.ps1"'</code>
</pre></div>Wasa Pleshakovtag:help.appveyor.com,2012-11-13:Comment/449298732018-03-20T21:14:47Z2018-03-20T21:14:47ZLoosing colors when using powershell<div><p>PowerShell Core support is implemented differently on our Windows build agent than on Linux one, and it is colorless by design. We plan to merge those implementations later and it will support colors. Cannot say specific ETA though.</p>
<p>Regarding YAML exceptions, I would add that I myself very often set configuration in UI and then use <code>Export YAML</code> to get working syntax.</p></div>Ilya Finkelshteyn