< Back

Write-EventLogTraceLog

Mon Jan 13, 2020 7:15 am

NAME Write-EventLogTraceLog



SYNOPSIS

Splits tracelog into multiple strings and then writes them to the windows event log





SYNTAX

Write-EventLogTraceLog [[-LogName] <Object>] [[-SourceName] <Object>] [[-RunbookName] <Object>] [[-EntryType]

<Object>] [[-EventId] <Object>] [[-Message] <Object>] [<CommonParameters>]





DESCRIPTION

uses the Get-TraceLogMessages function to split the tracelog and write it to event log.





PARAMETERS

-LogName <Object>



Required? false

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-SourceName <Object>



Required? false

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-RunbookName <Object>



Required? false

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-EntryType <Object>



Required? false

Position? 4

Default value

Accept pipeline input? false

Accept wildcard characters? false



-EventId <Object>



Required? false

Position? 5

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Message <Object>



Required? false

Position? 6

Default value

Accept pipeline input? false

Accept wildcard characters? 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



OUTPUTS





RELATED LINKS