Windows event log ยท Windows PowerShell400 Engine state is changed from None to Available

  • 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">400</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>Available, None, 	NewEngineState=Available
PreviousEngineState=None

SequenceNumber=13

HostName=ConsoleHost
HostVersion=5.1.18362.145
HostId=3820a72c-10dc-4989-9388-3d4b6523c35f
HostApplication=powershell -nop -w hidden -encodedcommand JAB...(bad command stuff removed)...ADsA
EngineVersion=5.1.18362.145
RunspaceId=b21e91e8-9068-48ae-ac10-15430944932b
PipelineId=
CommandName=
CommandType=
ScriptName=
CommandPath=
CommandLine=</Data>
    <Binary></Binary>
  </EventData>
</Event>

References

4 links

Source: evtx/Maps/Windows-PowerShell_PowerShell_400.map(opens in new tab) by Brian MacKenna and contributors(opens in new tab), MIT License(opens in new tab)