PowerShell Logo Small

Get-TraceSource



This is the built-in help made by Microsoft for the command 'Get-TraceSource', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Gets the Windows PowerShell components that are instrumented for tracing.

SYNTAX


Get-TraceSource [[-Name] [<String[]>]] [-InformationAction {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend}] [-InformationVariable [<System.String>]]
[<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Get-TraceSource cmdlet gets the trace sources for Windows PowerShell components that are currently in use. You can use the data to determine which Windows 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 Windows PowerShell developers, but they are available to all users.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?linkid=293975
Set-TraceSource
Trace-Command

REMARKS

<

Examples


-------------------------- EXAMPLE 1 --------------------------

PS C:\>get-traceSource *provider*



This command gets all of the trace sources that have names that include "provider".










-------------------------- EXAMPLE 2 --------------------------

PS C:\>get-tracesource



This command gets all of the Windows PowerShell components that can be traced.