blog.atwork.at

news and infos 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" …or use it for the output like this: Write-Host "`nThis is red`n" -ForegroundColor Red See much more options here: https://www.petri.com/change-powershell-console-font-and-background-colors https://technet.microsoft.com/en-us/library/ee692799.aspx Let color come to your (Admin) life!