PowerShell Logo Small

Add-NetEventProvider



This is the built-in help made by Microsoft for the command 'Add-NetEventProvider', in PowerShell version 4 - as retrieved from Windows version 'Microsoft Windows 8.1 Enterprise' 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

Adds an ETW provider to a session.

SYNTAX


Add-NetEventProvider [-Name] <String> [-SessionName] <String> [[-Level] [<Byte>]] [[-MatchAnyKeyword] [<UInt64>]] [[-MatchAllKeyword] [<UInt64>]] [-CimSession [<CimSe
ssion[]>]] [-ThrottleLimit [<Int32>]] [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Add-NetEventProvider cmdlet adds an Event Tracing for Windows (ETW) provider to a session.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkID=294383
Get-NetEventProvider
New-NetEventSession
Remove-NetEventProvider
Set-NetEventProvider

REMARKS

<

Examples


Example 1: Add an ETW provider to a session

PS C:\>New-NetEventSession -SessionName "Session01"
PS C:\> Add-NetEventProvider -Name "Microsoft-Windows-TCPIP" -SessionName "Session01"



This example adds an ETW provider to a session.

The first command uses the New-NetEventSession cmdlet to create a new session named Session01.

The second command adds an ETW provider named Microsoft-Windows-TCPIP to the session named Session01.