Skip to main content

Script Center

Script Center
We are dedicated to the system administration scripters of the world. At the Microsoft Script Center, we focus on teaching people how to use Windows PowerShell and VBScript to reduce time spent performing mundane tasks.

Hey, Scripting Guy! Blog

Script Center Home Page

PowerTip: Use PowerShell to Create Color Output from Commands
Summary: Learn to use the Write-Host PowerShell cmdlet to create color output from commands. Someone told me the Write-Host cmdlet could create color output. Can you give me some samples of acceptable syntax?a. Write-Host -ForegroundColor 12 "hi"b. Write-Host -ForegroundColor 12 "hi" -BackgroundColor whitec. Write-Host -ForegroundColor blue -BackgroundColor whited. Write-Host -ForegroundColor 2 hie. Write-Host -backgroundcolor 2 hif. Writ... More >

Recent Posts