PowerShell Logo Small

Set-NetEventPacketCaptureProvider



This is the built-in help made by Microsoft for the command 'Set-NetEventPacketCaptureProvider', 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

Modifies the configuration for a Remote Packet Capture provider.

SYNTAX


Set-NetEventPacketCaptureProvider [[-SessionName] [<String[]>]] [[-Level] [<Byte>]] [[-MatchAnyKeyword] [<UInt64>]] [[-MatchAllKeyword] [<UInt64>]] [[-CaptureType] {P
hysical | Switch | BothPhysicalAndSwitch}] [[-MultiLayer] [<Boolean>]] [[-LinkLayerAddress] [<String[]>]] [[-EtherType] [<UInt16[]>]] [[-IpAddresses] [<String[]>]] [[
-IpProtocols] [<Byte[]>]] [[-TruncationLength] [<UInt16>]] [[-VmCaptureDirection] {Ingress | Egress | IngressAndEgress}] [-CimSession [<CimSession[]>]] [-PassThru] [-
ThrottleLimit [<Int32>]] [-Confirm] [-WhatIf] [<CommonParameters>]
Set-NetEventPacketCaptureProvider [[-Level] [<Byte>]] [[-MatchAnyKeyword] [<UInt64>]] [[-MatchAllKeyword] [<UInt64>]] [[-CaptureType] {Physical | Switch | BothPhysica
lAndSwitch}] [[-MultiLayer] [<Boolean>]] [[-LinkLayerAddress] [<String[]>]] [[-EtherType] [<UInt16[]>]] [[-IpAddresses] [<String[]>]] [[-IpProtocols] [<Byte[]>]] [[-T
runcationLength] [<UInt16>]] [[-VmCaptureDirection] {Ingress | Egress | IngressAndEgress}] [-AssociatedCaptureTarget [<CimInstance>]] [-CimSession [<CimSession[]>]] [
-PassThru] [-ThrottleLimit [<Int32>]] [-Confirm] [-WhatIf] [<CommonParameters>]
Set-NetEventPacketCaptureProvider [[-Level] [<Byte>]] [[-MatchAnyKeyword] [<UInt64>]] [[-MatchAllKeyword] [<UInt64>]] [[-CaptureType] {Physical | Switch | BothPhysica
lAndSwitch}] [[-MultiLayer] [<Boolean>]] [[-LinkLayerAddress] [<String[]>]] [[-EtherType] [<UInt16[]>]] [[-IpAddresses] [<String[]>]] [[-IpProtocols] [<Byte[]>]] [[-T
runcationLength] [<UInt16>]] [[-VmCaptureDirection] {Ingress | Egress | IngressAndEgress}] [-AssociatedEventSession [<CimInstance>]] [-CimSession [<CimSession[]>]] [-
PassThru] [-ThrottleLimit [<Int32>]] [-Confirm] [-WhatIf] [<CommonParameters>]
Set-NetEventPacketCaptureProvider [[-Level] [<Byte>]] [[-MatchAnyKeyword] [<UInt64>]] [[-MatchAllKeyword] [<UInt64>]] [[-CaptureType] {Physical | Switch | BothPhysica
lAndSwitch}] [[-MultiLayer] [<Boolean>]] [[-LinkLayerAddress] [<String[]>]] [[-EtherType] [<UInt16[]>]] [[-IpAddresses] [<String[]>]] [[-IpProtocols] [<Byte[]>]] [[-T
runcationLength] [<UInt16>]] [[-VmCaptureDirection] {Ingress | Egress | IngressAndEgress}] [-CimSession [<CimSession[]>]] [-PassThru] [-ThrottleLimit [<Int32>]] [-Con
firm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Set-NetEventPacketCaptureProvider cmdlet modifies the configuration for a Remote Packet Capture provider.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkID=294402
Add-NetEventPacketCaptureProvider
Add-NetEventProvider
Get-NetEventPacketCaptureProvider
New-NetEventSession
Remove-NetEventPacketCaptureProvider
Get-NetEventNetworkAdapter
Get-NetEventVmNetworkAdapter
Get-NetEventVmSwitch
Get-NetEventSession

REMARKS

<

Examples


Example 1: Modify a packet capture provider

PS C:\>New-NetEventSession -SessionName "Session01"
PS C:\> Add-NetEventProvider -Name "Microsoft-Windows-TCPIP" -SessionName "Session01"
PS C:\> Add-NetEventPacketCaptureProvider -SessionName "Session01"
PS C:\> Set-NetEventPacketCaptureProvider -SessionName "Session01" -IpAddresses 182.168.0.1 -IpProtocol 6PS C:\>PS C:\>PS C:\>



This example modifies a packet capture provider.

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

The second command uses the Add-NetEventProvider cmdlet to add a TCP/IP Net provider to the session.

The third command uses the Add-NetEventPacketCaptureProvider cmdlet to add a packet capture provider to a session named Session01.

The fourth command modifies the packet capture provider settings.