PowerShell Logo Small

Get-TraceSource



This is the built-in help made by Microsoft for the command 'Get-TraceSource', in PowerShell version 2 - as retrieved from Windows version 'Microsoft® Windows Vista™ Ultimate ' 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[]>] [<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 proces
sing. 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/?LinkID=113333
Set-TraceSource
Trace-Command

REMARKS

<

Examples


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

C:\PS>get-traceSource *provider*



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








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

C:\PS>get-tracesource



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