Get the PowerShell components that are instrumented for tracing.
Syntax Get-TraceSource [[-name] string[]] [CommonParameters] Key -name string Get only the specified trace sources, wildcards are permitted. CommonParameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -WarningAction, -WarningVariable, -OutBuffer -OutVariable.
Examples
Get all of the PowerShell components that can be traced:
PS C:\> get-tracesource
"For we are here for but a moment, strangers in the land, our days on earth are like a shadow, gone so soon, without a trace" - 1 Chronicles 29:15
Related PowerShell Cmdlets:
Set-Tracesource - Trace a PowerShell component.
Trace-Command - Trace an expression or command.