Get-EtwTraceProvider

적용 대상: Windows 10, Windows Server Technical Preview

Get-EtwTraceProvider

Gets ETW trace providers.

구문

Parameter Set: ByAutologger
Get-EtwTraceProvider [[-Guid] <String[]> ] [-AutologgerName <String[]> ] [-CimSession <CimSession[]> ] [-ThrottleLimit <Int32> ] [ <CommonParameters>] [ <WorkflowParameters>]

Parameter Set: BySession
Get-EtwTraceProvider [[-Guid] <String[]> ] [-CimSession <CimSession[]> ] [-SessionName <String[]> ] [-ThrottleLimit <Int32> ] [ <CommonParameters>] [ <WorkflowParameters>]

자세한 설명

The Get-EtwTraceProvider cmdlet gets Event Trace for Windows (ETW) trace providers for an ETW Autologger configuration or ETW Session. Use this command to view provider property information, such as its GUID, level, and keyword configurations.

매개 변수

-AutologgerName<String[]>

Specifies an array of names of the Autologger configurations for which this cmdlet gets ETW trace providers. If you specify this parameter, do not specify the SessionName parameter.

별칭

none

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

true(ByPropertyName)

와일드카드 문자 허용 여부

false

-CimSession<CimSession[]>

원격 세션이나 원격 컴퓨터에서 cmdlet을 실행합니다. 컴퓨터 이름이나 New-CimSession 또는 Get-CimSession cmdlet의 출력과 같은 세션 개체를 입력하세요. 기본값은 로컬 컴퓨터 상의 현재 세션입니다.

별칭

Session

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-Guid<String[]>

Specifies an array of GUIDs, as strings, of the ETW trace providers that this cmdlet gets.

별칭

none

필수 여부

false

위치

1

기본값

none

파이프라인 입력 허용 여부

true(ByPropertyName)

와일드카드 문자 허용 여부

false

-SessionName<String[]>

Specifies an array of names of the ETW sessions for which this cmdlet gets ETW trace providers. If you specify this parameter, do not specify the AutologgerName parameter.

별칭

none

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

true(ByPropertyName)

와일드카드 문자 허용 여부

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.

별칭

none

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

<CommonParameters>

이 cmdlet은 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, -OutVariable 등의 일반 매개 변수를 지원합니다. 자세한 내용은 TechNet의 about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216)

<WorkflowParameters>

입력

입력 형식은 cmdlet으로 파이프할 수 있는 개체의 형식입니다.

출력

출력 형식은 cmdlet 실행 시 출력되는 개체의 형식입니다.

Example 1: View all available trace providers

This command obtains a list of all available ETW trace providers and their GUIDs on the current computer by using the Get-NetEventProvider cmdlet. For more information, type Get-Help Get-NetEventProvider.

PS C:\> Get-NetEventProvider -ShowInstalled | Select-Object -Property *

Example 2: Get trace providers for an ETW session

This command gets all trace providers for the ETW session named NtfsLog.

PS C:\> Get-EtwTraceProvider -SessionName "NtfsLog"

Example 3: Get trace providers for an Autologger configuration

This command gets all trace providers for the Autologger configuration named WdiContextLog.

PS C:\> Get-EtwTraceProvider -AutologgerName "WdiContextLog"

관련 항목

Configuring and Starting an AutoLogger Session

Configuring and Starting an Event Tracing Session

Add-EtwTraceProvider

Remove-EtwTraceProvider

Set-EtwTraceProvider