> Received wisdom about Write-Host, by the way, is that one rarely wants it.
Yeah, totally got that. But how else you can generate colorized easy-to-read output, where yellow warnings stand out?
There should be something like Write-Host that outputs colors to console stdout handle and silently drops color properties when writing to (anonymous) pipe stdout handle.
Yeah, totally got that. But how else you can generate colorized easy-to-read output, where yellow warnings stand out?
There should be something like Write-Host that outputs colors to console stdout handle and silently drops color properties when writing to (anonymous) pipe stdout handle.
Color escape codes could be even better.