olafhartong / sysmon-modular

A repository of sysmon configuration modules

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue creating a CONFIG XML

N3anderth0l opened this issue · comments

Could there be an issue with the script (Merge-SysmonXml.ps1) that creates the generic sysmon XML configuration file? Or with the syntax? I'm following the instructions listed here https://github.com/olafhartong/sysmon-modular/wiki/Configuration-options#generating-the-default-configuration

I successfully (within powershell and using git with generic user and/or Administrator) donwloaded and accessed the sysmon-modular folder to run the command below:
.\Merge-SysmonXml.ps1 Merge-AllSysmonXml -Path ( Get-ChildItem '[0-9]**.xml') -AsString | Out-File sysmonconfig.xml

I succesfully create the new sysmonconfig.xml but when inspected (with Notepad++, in this case) I see that only lines 2 through 15 are populated with the Logo and the words by Olaf Hartong.

Many thanks for any replies in advance and I commend you for all your efforts!!!

that does not work the Merge0AllSysmonXml command is a function.

First load the ps1 file, then run the command

image