I'm using Windows 7 and I'd like to monitor for new Process Create events. (i.e. get an entry for each process that's created, with full details about it.) I succeeded in doing this in Procmon, but I want to do it in the shell, and get text output without a GUI.
Is there a CLI command that does that? e.g. I could tell it "Please list all events of the type so-and-so with a path of so-and-so" and it'll run indefinitely, writing details of these processes to stdout?
Microsoft.Diagnostics.Tracing.TraceEvent
nuget package (by Microsoft). There is a sample here https://mcmap.net/q/1097744/-how-is-it-possible-to-understand-which-process-deletes-a-file-on-the-hard-drive that does something different but all the events are available. – Dovecote