CmdID / PowerShell / Cmdlets / Get
Get-TraceSource
Gets PowerShell components that are instrumented for tracing. PowerShell reference
From the PowerShell reference 1 parameter
What it does
Gets PowerShell components that are instrumented for tracing. The Get-TraceSource cmdlet gets the trace sources for PowerShell components that are currently in use. You can use the data to determine which PowerShell components you can trace. When tracing, the component generates detailed messages about each step in its internal processing. Developers use the trace data to monitor data flow, program execution, and errors. The tracing cmdlets were designed for PowerShell developers, but they are available to all users.
Get-TraceSource [[-Name] <String[]>] [<CommonParameters>]
Get trace sources by name
Get-TraceSource -Name "Provider"IdentifyGet all trace sources
Get-TraceSourceIdentifyIts page in the reference: Get-TraceSource.
Parameters
-NameSpecifies the trace sources to get. Wildcards are permitted. The parameter name Name is optional.