CodePaste Logo
New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Language: PowerShell

PowerShell Write-Host + String Formatting

335 Views
Copy Code Show/Hide Line Numbers
   1:  Write-Host $("{0},{1}" -f "Hello", "World") -fore Red
by David R. Longnecker
  May 11, 2010 @ 2:05pm
Tags:
Description:
Output (in red):

Hello, World

Add a comment


Report Abuse
brought to you by:
West Wind Techologies



If you find this site useful and use it frequently please consider making a donation to support this free service.
Donate