PowerShell Logo Small

Set-NetIPv4Protocol



This is the built-in help made by Microsoft for the command 'Set-NetIPv4Protocol', in PowerShell version 3 - as retrieved from Windows version 'Microsoft Windows Server 2012 Standard' 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 information about the IPv4 Protocol configuration.

SYNTAX


Set-NetIPv4Protocol [-AddressMaskReply <AddressMaskReply>] [-AsJob [<SwitchParameter>]] [-CimSession <CimSession[]>] [-DefaultHopLimit
<UInt32>] [-DhcpMediaSense <DhcpMediaSense>] [-GroupForwardedFragments <GroupForwardedFragments>] [-IcmpRedirects <IcmpRedirects>] [-IGMPLevel
<MldLevel>] [-IGMPVersion <MldVersion>] [-InputObject <CimInstance[]>] [-MediaSenseEventLog <MediaSenseEventLog>] [-MulticastForwarding
<MulticastForwarding>] [-NeighborCacheLimitEntries <UInt32>] [-PassThru [<SwitchParameter>]] [-RandomizeIdentifiers <RandomizeIdentifiers>]
[-ReassemblyLimitBytes <UInt32>] [-RouteCacheLimitEntries <UInt32>] [-SourceRoutingBehavior <SourceRoutingBehavior>] [-ThrottleLimit <Int32>]
[-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Set-NetIPv4Protocol cmdlet modifies the global IPv4 protocol configuration for the computer. This includes parameters such as the default
hop limit, the neighbor cache limit, and multi-cast configuration.



<

RELATED LINKS

Architectural Overview of the TCP/IP Protocol Suite on TechNet
Get-NetIPv4Protocol

REMARKS

<

Examples


EXAMPLE 1

PS C:\>Set-NetIPv4Protocol –MediaSenseEventLog Enabled



This example enabled the DHCP media sense event log.




EXAMPLE 2

PS C:\>Get-NetIPv4Protocol –NeighborCacheLimit 1000



This example allows for more neighbors on the subnet, as the default is 256.