Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 3.0 » Write-Host

Write-Host - Powershell 3.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

Write-Host

Short description
Writes customized output to a host.

Syntax
Write-Host [[-Object] <Object>] [-BackgroundColor <ConsoleColor>] [-ForegroundColor <ConsoleColor>] [-NoNewline] [-Sepa
rator <Object>] [<CommonParameters>]





Description
The Write-Host cmdlet customizes output. You can specify the color of text by using the ForegroundColor parameter, and 
you can specify the background color by using the BackgroundColor parameter. The Separator parameter lets you specify a
 string to use to separate displayed objects. The particular result depends on the program that is hosting Windows Powe
rShell.