blog.atwork.at

news and know-how about microsoft, technology, cloud and more.

Color your life in PowerShell

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

Loading