CmdID

CmdID / PowerShell / Cmdlets / New

New-EtwTraceSession

Creates an ETW trace session. Windows Server PowerShell reference

From the Windows Server PowerShell reference 14 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

14 in the Windows Server PowerShell reference
-AsJobRuns the cmdlet as a background job.
-BufferSizeSpecifies the ETW session buffer size, in kilobytes.
-CimSession, -SessionRuns the cmdlet in a remote session or on a remote computer.
-ClockTypeSpecifies the type of timestamp that will be used for each event logged to this ETW session.
-Confirm, -cfPrompts you for confirmation before running the cmdlet.
-FlushTimerWhen set, all active buffers in the session will be flushed at this interval, in seconds.
-LocalFilePathSpecifies the full path to the file the ETW session should write to.
-LogFileModeSpecifies the ETW session logging mode.
-MaximumBuffersSpecifies the maximum number of buffers the ETW session should use.
-MaximumFileSizeSpecifies the maximum file size for the output .etl file to grow to, in megabytes.
-MinimumBuffersSpecifies the minimum number of buffers the ETW session should use.
-NameSpecifies the name of the new ETW trace session.
-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.
-WhatIf, -wiShows what would happen if the cmdlet runs.