< Back

Write-EventLogLemontree

Sat Jan 18, 2020 9:43 am

NAME Write-EventLogLemontree



SYNTAX

Write-EventLogLemontree [-LogName] <string> [-Source] <string> [[-Message] <string>] [-EventID] <int>

[[-EntryType] {Information | FailureAudit | Error | SuccessAudit | Warning}] [[-Category] <string>]

[[-ComputerName] <string>] [[-RawData] <byte[]>] [<CommonParameters>]





PARAMETERS

-Category <string>



Required? false

Position? 5

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-ComputerName <string>



Required? false

Position? 6

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-EntryType <string>



Required? false

Position? 4

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-EventID <int>



Required? true

Position? 3

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-LogName <string>



Required? true

Position? 0

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-Message <string>



Required? false

Position? 2

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-RawData <byte[]>



Required? false

Position? 7

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-Source <string>



Required? true

Position? 1

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).





INPUTS

None





OUTPUTS

System.Object



ALIASES

None





REMARKS

None





examples : @{example=@{introduction=System.Management.Automation.PSObject[]; code=Write-LemontreeError;

remarks=System.Management.Automation.PSObject[]; title=-------------------------- EXAMPLE 1

--------------------------}}

alertSet : @{alert=System.Management.Automation.PSObject[]}

parameters :

details : @{name=Write-LemontreeError; description=System.Management.Automation.PSObject[]}

description : {@{Text=A detailed description of the Write-LemontreeError function.}}

syntax : @{syntaxItem=@{name=Write-LemontreeError}}

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

Name : Write-LemontreeError

Category : Function

Synopsis : Writes error message in a short and descriptive way.

Component :

Role :

Functionality :

ModuleName : Lemontree-Module