Sign in
|
Join PowerShell.com!
|
Help
Home
PowerTips
Forums
Blogs
eBook
Library
Friends
Twitter Grid
Modules
QuickClick
Scripts
Snippets
Videos
Library
»
Snippet Library
»
Samples
»
Write-Host
Write-Host
Share
|
Browse Library
Module Library
QuickClick Library
Script Library
Snippet Library
ADSI
Comparison
Conditions and Loops
.Net
Exception Handlers
Files and Folders
Functions
Headers
Includes
Network
Pipeline
PowerShell Internals
Registry
Samples
Script Functions Templates
Security
SQL Server
Templates
User Management
WMI
Video Library
Members Only
Tags
Mandelbrot
Snippet
Write-Host
View more
Previous
|
Next
|
View all files
|
View Slideshow
Download
posted by
Richard Giles
02-17-2009
Downloads: 122
File size: 922 B
Views: 764
Embed
Write-Host
<?
xml
version
=
"1.0"
?>
<CodeSnippets xmlns
=
"http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"
>
<CodeSnippet Format
=
"1.0.0"
>
<Header>
<Title>write text to console<
/
Title>
<Shortcut>wt<
/
Shortcut>
<Description>writes Text to console<
/
Description>
<Author
/
>
<SnippetTypes>
<SnippetType>Expansion<
/
SnippetType>
<
/
SnippetTypes>
<
/
Header>
<Snippet>
<Declarations>
<Literal>
<ID>param1<
/
ID>
<ToolTip
/
>
<Default>Red<
/
Default>
<
/
Literal>
<Literal>
<ID>param2<
/
ID>
<ToolTip
/
>
<Default>White<
/
Default>
<
/
Literal>
<Literal>
<ID>param3<
/
ID>
<ToolTip
/
>
<Default>Hello<
/
Default>
<
/
Literal>
<
/
Declarations>
<Code Language
=
"PowerShell"
Kind
=
"-1"
><
!
[CDATA[
Write-Host
-ForegroundColor
"$param1$"
-BackgroundColor
"$param2$"
"$param3$"
]]><
/
Code>
<
/
Snippet>
<
/
CodeSnippet>
<
/
CodeSnippets>
Filed under:
Snippet
,
Write-Host
Inserts a text to console.
Copyright 2010 PowerShell.com. All rights reserved.