Windows event log ยท Windows PowerShell800 Pipeline Execution Details

  • PowerShell
  • 3 fields
  • Windows PowerShell.evtx
  • PowerShell

Fields EvtxECmd extracts

3 columns in the EvtxECmd CSV

  • PayloadData1%HostApplication%
    • %HostApplication% = /Event/EventData/Data
  • PayloadData2%HostName%
    • %HostName% = /Event/EventData/Data
  • PayloadData3%HostVersion%
    • %HostVersion% = /Event/EventData/Data

Sample event

Event XML from the map file

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="PowerShell"/>
    <EventID Qualifiers="0">600</EventID>
    <Level>4</Level>
    <Task>6</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2001-01-01T01:01:01.012345678Z"/>
    <EventRecordID>18</EventRecordID>
    <Channel>Windows PowerShell</Channel>
    <Computer>name.domain.tld</Computer>
    <Security/>
  </System>
  <EventData>
    <Data>Registry, Started, 	ProviderName=Registry
NewProviderState=Started

SequenceNumber=1

HostName=ConsoleHost
HostVersion=5.1.18362.145
HostId=b3dfcb89-d2f8-4b8b-a784-a6a9bcf61bd8
HostApplication=powershell  -command Set-ItemProperty -Path HKCU:\Software\Microsoft\Office\16.0\Outlook\AutoDiscover -Name 'ExcludeExplicitO365Endpoint' -Value 1 -Type DWORD -Force
EngineVersion=
RunspaceId=
PipelineId=
CommandName=
CommandType=
ScriptName=
CommandPath=
CommandLine=</Data>
  </EventData>
</Event>

References

1 link

Source: evtx/Maps/Windows-PowerShell_PowerShell_800.map(opens in new tab) by Andrew Rathbun and contributors(opens in new tab), MIT License(opens in new tab)