PowerShell Logo Small

Set-NetIPv4Protocol



This is the built-in help made by Microsoft for the command 'Set-NetIPv4Protocol', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 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] [-CimSession <CimSession[]>] [-DefaultHopLimit <UInt32>] [-DhcpMediaSense <DhcpMediaSense>]
[-GroupForwardedFragments <GroupForwardedFragments>] [-IcmpRedirects <IcmpRedirects>] [-IGMPLevel <MldLevel>] [-IGMPVersion <MldVersion>] [-InputObject <CimInstance[]>]
[-MediaSenseEventLog <MediaSenseEventLog>] [-MulticastForwarding <MulticastForwarding>] [-NeighborCacheLimitEntries <UInt32>] [-PassThru] [-RandomizeIdentifiers
<RandomizeIdentifiers>] [-ReassemblyLimitBytes <UInt32>] [-RouteCacheLimitEntries <UInt32>] [-SourceRoutingBehavior <SourceRoutingBehavior>] [-ThrottleLimit <Int32>]
[-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Set-NetIPv4Protocol cmdlet modifies the global IPv4 protocol configuration for a computer. If you do not specify any parameters for the cmdlet, the cmdlet sets the
default values for the global IPv6 protocol configuration.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=289167
Architectural Overview of the TCP/IP Protocol Suite on TechNet
Get-NetIPv4Protocol

REMARKS

<

Examples


Example 1: Enable the DHCP Media Sense event log

PS C:\>Set-NetIPv4Protocol –MediaSenseEventLog Enabled



This command enables the DHCP Media Sense event log.




Example 2: Increase the number of neighbors

PS C:\>Set-NetIPv4Protocol –NeighborCacheLimitEntries 1000



This command increases the size of the cache of on-link neighbors on the subnet to 1,000. The default value is 256.