Verify the first line of log as well
nohwnd opened this issue · 1 comments
nohwnd commented
I verify the last line of the log but not the first, this does not give any warning when someone enables trace in trace, and events are missing:
First line should be:
[Profiler.Tracer]::Patch($PSVersionTable.PSVersion.Major, $ExecutionContext, $host.UI)