Get-TraceSource

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.

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.


 
Copyright © 1999-2024 SS64.com
Some rights reserved