CmdID / PowerShell / Cmdlets / Start
Start-SbecLogSession
Starts an ETW log session. Windows Server PowerShell reference
From the Windows Server PowerShell reference 17 parameters Its page in the reference
Parameters
Show its 17 parameters
-BufferSizeSpecifies the buffer size for the session, in kilobytes.-ClockTypeSpecifies the type of clock used for the events collected by this session: The acceptable values for this parameter are:-FlushSeconds, -FlushTimerSpecifies the timeout, in seconds, for the session buffers to automatically flush.-KernelEnableFlagsSpecifies flags for the NT Kernel Logger that enable the kernel events.-LevelSpecifies the highest detail level value to enable for providers.-LogFileModeSpecifies the new flags for the log file mode.-MaximumBufferCount, -MaximumBuffers, -maxbufSpecifies the maximum number of buffers to allocate for this session.-MaximumFileSizeSpecifies the maximum file size after which the session may switch to the next file, in megabytes.-MinimumBufferCount, -MinimumBuffers, -minbufSpecifies the minimum number of buffers to allocate for this session.-NameSpecifies the name of the session to start.-PassThruReturns an object representing the item with which you are working.-PathSpecifies the ETL file where the session will write its log.-ProviderGuid, -pgSpecifies the provider GUIDs to subscribe this session to.-ProviderName, -pnSpecifies the provider names to subscribe this session to.-SessionGuidSpecifies the GUID for the session.-SimulateCreationErrorSimulates a Windows error in session creation, and causes the function to throw an error.-SimulateSubscriptionErrorSimulates a Windows error in session subscription, and causes the function to throw an error.