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 Windows 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:
Set-Tracesource - Trace a PowerShell component
© Copyright SS64.com 1999-2013
Some rights reserved