Write-Info

NAME
Write-Info

SYNOPSIS
Write-Info is the command Write-Host is aliased to.

SYNTAX
Write-Info -Message <String> [-Logger <LogImpl>] <CommonParameters>


DESCRIPTION
Write-Info Replacement for Write-Host (there is an alias mapping) that uses log4net to control how and where logging occurs


PARAMETERS
-Message <String>

Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters?

-Logger <LogImpl>
The logger to use for the log operation if not specified uses default logger

Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters?

-------------------------- EXAMPLE 1 --------------------------

PS C:\>Write-Host -Object "Hello World"

Last edited Mar 30, 2011 at 3:50 PM by qawarrior, version 1

Comments

No comments yet.