Share via


Remove-EtwTraceProvider

Se aplica a: Windows 10, Windows Server Technical Preview

Remove-EtwTraceProvider

Removes an ETW trace provider from an ETW Autologger configuration or an ETW session.

Sintaxis

Parameter Set: ByAutologger
Remove-EtwTraceProvider [-Guid] <String[]> -AutologgerName <String[]> [-CimSession <CimSession[]> ] [-PassThru] [-ThrottleLimit <Int32> ] [-Confirm] [-WhatIf] [ <CommonParameters>] [ <WorkflowParameters>]

Parameter Set: BySession
Remove-EtwTraceProvider [-Guid] <String[]> -SessionName <String[]> [-CimSession <CimSession[]> ] [-PassThru] [-ThrottleLimit <Int32> ] [-Confirm] [-WhatIf] [ <CommonParameters>] [ <WorkflowParameters>]

Parameter Set: InputObject (cdxml)
Remove-EtwTraceProvider [-CimSession <CimSession[]> ] [-PassThru] [-ThrottleLimit <Int32> ] [-Confirm] [-WhatIf] [ <CommonParameters>] [ <WorkflowParameters>]

Descripción detallada

The Remove-EtwTraceProvider cmdlet removes an Event Trace for Windows (ETW) trace provider from an ETW Autologger configuration or an ETW session.

Parámetros

-AutologgerName<String[]>

Specifies an array of names of the ETW Autologger configurations from which to remove an ETW trace provider. If you specify this parameter, do not specify the SessionName parameter.

Alias

none

¿Necesario?

true

¿Posición?

named

Valor predeterminado

none

¿Aceptar la entrada de la canalización?

false

¿Aceptar caracteres comodín?

false

-CimSession<CimSession[]>

Ejecuta el cmdlet en una sesión remota o en un equipo remoto. Escriba un nombre de equipo o un objeto de sesión, como la salida de un cmdlet New-CimSession o Get-CimSession. El valor predeterminado es la sesión actual en el equipo local.

Alias

Session

¿Necesario?

false

¿Posición?

named

Valor predeterminado

none

¿Aceptar la entrada de la canalización?

false

¿Aceptar caracteres comodín?

false

-Guid<String[]>

Specifies an array of GUIDs, as strings, of the ETW trace providers that this cmdlet removes from an ETW Autologger configuration or ETW session.

Alias

none

¿Necesario?

true

¿Posición?

1

Valor predeterminado

none

¿Aceptar la entrada de la canalización?

true(ByPropertyName)

¿Aceptar caracteres comodín?

false

-PassThru

Indicates that this cmdlet returns an object that represents the item on which it operates. By default, this cmdlet does not generate any output.

Alias

none

¿Necesario?

false

¿Posición?

named

Valor predeterminado

none

¿Aceptar la entrada de la canalización?

false

¿Aceptar caracteres comodín?

false

-SessionName<String[]>

Specifies an array of names of the ETW sessions that contain the ETW trace provider that this cmdlet removes. If you specify this parameter, then do not specify the AutologgerName parameter.

Alias

none

¿Necesario?

true

¿Posición?

named

Valor predeterminado

none

¿Aceptar la entrada de la canalización?

false

¿Aceptar caracteres comodín?

false

-ThrottleLimit<Int32>

Specifies the maximum number of concurrent operations that can be established to run the cmdlet. If this parameter is omitted or a value of zero is entered, then Windows PowerShell® calculates an optimum throttle limit for the cmdlet based on the number of CIM cmdlets that are running on the computer. The throttle limit applies only to the current cmdlet, not to the session or to the computer.

Alias

none

¿Necesario?

false

¿Posición?

named

Valor predeterminado

none

¿Aceptar la entrada de la canalización?

false

¿Aceptar caracteres comodín?

false

-Confirm

Solicita confirmación antes de ejecutar el cmdlet.

¿Necesario?

false

¿Posición?

named

Valor predeterminado

false

¿Aceptar la entrada de la canalización?

false

¿Aceptar caracteres comodín?

false

-WhatIf

Muestra lo que sucedería si se ejecuta el cmdlet. El cmdlet no se ejecuta.

¿Necesario?

false

¿Posición?

named

Valor predeterminado

false

¿Aceptar la entrada de la canalización?

false

¿Aceptar caracteres comodín?

false

<CommonParameters>

Este cmdlet admite los parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, vea  about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

<WorkflowParameters>

Entradas

El tipo de entrada es el tipo de objetos que se pueden canalizar al cmdlet.

Salidas

El tipo de resultado es el tipo de los objetos que el cmdlet emite.

Ejemplos

Example 1: Remove an ETW trace provider from a session:

This command removes the ETW Trace Provider that has the specified GUID from the session named TestSession17.

PS C:\> Remove-EtwTraceProvider -Guid "{9C88041D-349D-4647-8BFD-2C0A167BFE58}" -SessionName "TestSession17"

Temas relacionados

Configuring and Starting an AutoLogger Session

Configuring and Starting an Event Tracing Session

Add-EtwTraceProvider

Get-EtwTraceProvider

Set-EtwTraceProvider