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.
Aliases |
none |
必須/オプション |
false |
位置 |
named |
既定値 |
none |
パイプライン入力の受け入れ |
true(ByPropertyName) |
ワイルドカード文字の受け入れ |
false |
-CimSession<CimSession[]>
リモート セッションまたはリモート コンピューターでコマンドレットを実行します。コンピューター名またはセッション オブジェクト (New-CimSession コマンドレットや Get-CimSession コマンドレットの出力など) を入力します。既定値は、ローカル コンピューター上の現在のセッションです。
Aliases |
Session |
必須/オプション |
false |
位置 |
named |
既定値 |
none |
パイプライン入力の受け入れ |
false |
ワイルドカード文字の受け入れ |
false |
-Guid<String[]>
Specifies an array of GUIDs, as strings, of the ETW trace providers that this cmdlet gets.
Aliases |
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.
Aliases |
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.
Aliases |
none |
必須/オプション |
false |
位置 |
named |
既定値 |
none |
パイプライン入力の受け入れ |
false |
ワイルドカード文字の受け入れ |
false |
<CommonParameters>
このコマンドレットは共通のパラメーターをサポートしています(-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、および -OutVariable)。詳細については、TechNet の「 「about_CommonParameters」 (https://go.microsoft.com/fwlink/p/?LinkID=113216) を参照してください。
<WorkflowParameters>
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットが出力するオブジェクトの型です。
使用例
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