Configures, starts, and stops a trace of BEMCLI components.
Configures, starts, and stops a trace of BEMCLI components.
Specifies the type of events that you want to trace.
The valid values are:
Off
Critical
Error
Warning
Information
Verbose
ActivityTracing
All
Required | false |
Position | 0 |
Accepts pipeline input | false |
Accepts wildcard characters | false |
Adds optional data to the prefix of each trace message in the
output. To specify multiple options, separate them with commas, but
with no spaces, and enclose them in quotation marks, such as
"ProcessID,ThreadID".
The valid values are:
None
LogicalOperationStack
DateTime
Timestamp
ProcessId
ThreadId
Callstack
Required | false |
Position | Named |
Accepts pipeline input | false |
Accepts wildcard characters | false |
Sends the trace output to the specified file. This parameter also selects the file trace listener. If you use this parameter to start the trace, use the RemoveFilePath parameter to stop the trace.
Required | false |
Position | 1 |
Accepts pipeline input | true (ByValue ByPropertyName) |
Accepts wildcard characters | false |
Sends the trace output to the Windows PowerShell host. This parameter also selects the PSHost trace listener. If you use this parameter to start the trace, use the RemovePSHost parameter to stop the trace.
Required | false |
Position | Named |
Accepts pipeline input | false |
Accepts wildcard characters | false |
Sends the trace output to the debugger. You can view the output in any user-mode or kernel mode debugger or in Microsoft Visual Studio. This parameter also selects the default trace listener. If you use this parameter to start the trace, use the RemoveDebugger parameter to stop the trace.
Required | false |
Position | Named |
Accepts pipeline input | false |
Accepts wildcard characters | false |
Stops the trace by removing the PSHost trace listener.
Required | false |
Position | Named |
Accepts pipeline input | false |
Accepts wildcard characters | false |
Stops the trace by removing the debugger trace listener.
Required | false |
Position | Named |
Accepts pipeline input | false |
Accepts wildcard characters | false |
Stops the trace by removing the file trace listener associated with the specified file. Enter the path and file name of the trace output file.
Required | false |
Position | Named |
Accepts pipeline input | false |
Accepts wildcard characters | false |
Allows the cmdlet to overwrite a read-only file. Use with the FilePath parameter.
Required | false |
Position | Named |
Accepts pipeline input | false |
Accepts wildcard characters | false |
For more information about common parameters, type "Get-Help about_commonparameters".
You can pipe a string to Set-BETraceSource to enable the file trace listener.
This cmdlet does not generate any output.
This command starts BEMCLI tracing for information level events and logs them to the Windows PowerShell host.
This command stops tracing BEMCLI events to the Windows PowerShell host.