formatters/eventlog.psm1
function Format-EventlogDefault { param( $Record ) return "Source : {0}`nLevel : {1}`nUserName : {2}`nContent : {4}{3}" -f ($Record.Source, $Record.Level, $env:USERNAME, $Record.Message, ("`t"*($Record.Indent - 1))) } |