Would you like to learn how to use multiple colors on the command WRITE-HOST? In this tutorial, we will show you how to display multiple colors in the console using the Powershell command WRITE-HOST.
• Windows 2012 R2
• Windows 2016
• Windows 2019
• Windows 2022
• Windows 10
• Windows 11
Equipment list
Here you can find the list of equipment used to create this tutorial.
This link will also show the software list used to create this tutorial.
Related tutorial – PowerShell
On this page, we offer quick access to a list of tutorials related to PowerShell.
Powershell WRITE-HOST – Using colors
Start a Powershell command-line.
List all Powershell colors available.
Here is the command output.
Powershell text in red color.
Powershell text in color green.
Powershell text in yellow color.
Powershell text in red background.
Powershell text in green background.
Powershell text in yellow background.
Powershell text in black color and green background.
Powershell text in red color and yellow background.
Multiple Powershell colors in the same line.
Multiple colors in the same line.
Congratulations! You are able to use multiple colors on the Powershell command WRITE-HOST.