Get-TraceSource - PowerShell


 

Gets the Windows PowerShell components that are instrumented for tracing. (Get-TraceSource)

   

# NAME
Get-TraceSource

# SYNOPSIS
Gets the Windows PowerShell components that are instrumented for tracing.

# SYNTAX
Get-TraceSource [[-Name] <string[]>] [<CommonParameters>]

# 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.

# PARAMETERS
-Name <string[]>
Gets only the specified trace sources. Wildcards are permitted. The parameter name ("Name") is optional.

Required? false
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

# INPUTS
System.String
You can pipe a string that contains the name of a trace source to Get-TraceSource.

# OUTPUTS
System.Management.Automation.PSTraceSource
Get-TraceSource returns objects that represent the trace sources.

# NOTES

# 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.

RELATED LINKS
Online version: http://go.microsoft.com/fwlink/?LinkID=113333
Set-TraceSource
Trace-Command

C:\Windows>powershell get-help Set-TraceSource -full

ColorConsole [Version 1.7.1000] PowerShell 2.0-Export
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2014 Microsoft Corporation.

OS: Windows 10, 8.1, 8, 7, Vista / Windows Server 2016, 2012, 2008
»»»» ColorConsole








Windows-10





Windows-10

... facebook.de
... Windows-10 FAQ
... Windows-10 Info


Become a Sponsor
... Your button here?





PowerShell: Gets the Windows PowerShell components that are instrumented for tracing.

HTTP: ... PS_Windows/en/Get-TraceSource.htm
0.186
14542

Was ist eine VR Brille?

 /

send_tab and send_enter command in Windows, can I?

 /

After auto update, many programs do not work in W10?

 /

Windows 10 drop-down menus are aligned to the left, why not right?

 /

Can I uninstall Programs and Features in Windows 7?

 /

Where does the program DesktopOK save the file/data when you do a Save?

 /

Turn off the left desktop corner APP switcher in Windows 8.1 / 10 (screen, turn off)!

 /

Do I have Windows 10 Redstone 4 or 5 (Creators, Version, System)?

 /

The timer can not be set to prevent standby, why?

 /

Violet is a beautiful royal color, which can prove itself on the desktop as a clock!

 /

How can I install Java Script in Windows 10?

 /

Make data recovery impossible on Windows overwrites the data with random numbers!   

 /