Color your life in PowerShell

2016-06-13 | Toni Pohl

Always wanted to change to color of your PowerShell? Well, the easiest way is this:

[console]::ForegroundColor = "Green"

image

…or use it for the output like this:

Write-Host "`nThis is red`n" -ForegroundColor Red

image

See much more options here:

Let color come to your (Admin) life! Winking smile

Categories: General, English, Microsoft, PowerShell

Source: https://blog.atwork.at/post/Color-your-life-in-PowerShell