Get-NetIPv4Protocol

Get-NetIPv4Protocol

Gets IPv4 protocol configurations.

구문

Parameter Set: ByName
Get-NetIPv4Protocol [-AddressMaskReply <AddressMaskReply[]> ] [-CimSession <CimSession[]> ] [-DefaultHopLimit <UInt32[]> ] [-DhcpMediaSense <DhcpMediaSense[]> ] [-GroupForwardedFragments <GroupForwardedFragments[]> ] [-IcmpRedirects <IcmpRedirects[]> ] [-IGMPLevel <MldLevel[]> ] [-IGMPVersion <MldVersion[]> ] [-MediaSenseEventLog <MediaSenseEventLog[]> ] [-MinimumMtu <UInt32[]> ] [-MulticastForwarding <MulticastForwarding[]> ] [-NeighborCacheLimitEntries <UInt32[]> ] [-RandomizeIdentifiers <RandomizeIdentifiers[]> ] [-ReassemblyLimitBytes <UInt32[]> ] [-RouteCacheLimitEntries <UInt32[]> ] [-SourceRoutingBehavior <SourceRoutingBehavior[]> ] [-ThrottleLimit <Int32> ] [ <CommonParameters>] [ <WorkflowParameters>]

자세한 설명

The Get-NetIPv4Protocol cmdlet gets the global settings for IPv4 protocol configurations for the computer. If you do not specify any parameters, the cmdlet gets the IPv4 protocol configuration settings for all network connections for the computer. The cmdlet returns IPv4 protocol settings, such as the Internet Control Message Protocol (ICMP) setting, the default hop limit, the neighbor cache limit, and the multicast configuration.

매개 변수

-AddressMaskReply<AddressMaskReply[]>

Specifies an array of values for address mask reply. The cmdlet gets the IPv4 protocol configurations that have these values. Address mask reply specifies how the computer responds to ICMP address mask packets. 이 매개 변수에 허용되는 값은 다음과 같습니다.

-- Enabled. The computer responds to ICMP address mask packets.
-- Disabled. The computer does not respond to ICMP address mask packets.

별칭

none

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-CimSession<CimSession[]>

원격 세션이나 원격 컴퓨터에서 cmdlet을 실행합니다. 컴퓨터 이름이나 New-CimSession 또는 Get-CimSession cmdlet의 출력과 같은 세션 개체를 입력하세요. 기본값은 로컬 컴퓨터 상의 현재 세션입니다.

별칭

Session

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-DefaultHopLimit<UInt32[]>

Specifies an array of values for the default hop limit. The cmdlet gets the IPv4 protocol configurations that have these values. The default hop limit is the default value for the CurrentHopLimit property in the IP interface. The current hop limit is the value that the IP interface writes in the time-to-live (TTL) field in all outbound traffic. When routers forward a packet, they decrement the hop limit by 1 and discard the packet when the hop limit is 0.

별칭

none

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-DhcpMediaSense<DhcpMediaSense[]>

Specifies an array of values for Media Sense. The cmdlet gets IPv4 protocol configurations that have these values.

Media Sense provides a mechanism for the network adapter to notify the protocol stack of media connect and disconnect events. These events trigger the DHCP client to take an action, such as attempting to renew a DHCP lease or removing routes that are related to a disconnected network. When Media Sense is enabled, the network parameters on the laptop of a roaming user are automatically and transparently updated without requiring a restart when the user moves from one location to another. 이 매개 변수에 허용되는 값은 다음과 같습니다.

-- Enabled
-- Disabled

별칭

none

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-GroupForwardedFragments<GroupForwardedFragments[]>

Specifies an array of values for group forwarded fragments. The cmdlet gets IPv4 protocol configurations that have these values. Group forwarded fragments specifies whether the IP interface collects fragments into groups before it forwards the fragments. 이 매개 변수에 허용되는 값은 다음과 같습니다.

-- Enabled. The IP interface collects IPv4 protocol fragments into groups before it forwards the fragments.
-- Disabled. The IP interface does not collect IPv4 protocol fragments into groups before it forwards the fragments.

별칭

none

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-IGMPLevel<MldLevel[]>

Specifies an array of values for the Internet Group Management Protocol (IGMP) level. The cmdlet gets IPv4 protocol configurations that have these values. The IGMP level specifies the level of multicast support. 이 매개 변수에 허용되는 값은 다음과 같습니다.

-- None
-- SendOnly
-- All

별칭

MldLevel

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-IGMPVersion<MldVersion[]>

Specifies an array of the IGMP version numbers. The cmdlet gets IPv4 protocol configurations that have these IGMP version numbers. The IGMP version is the maximum IGMP version supported by the host of IPv4 protocol configuration.

별칭

MldVersion

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-IcmpRedirects<IcmpRedirects[]>

Specifies an array of values for ICMP redirects. The cmdlet gets IPv4 protocol configurations that have these values. ICMP redirects specifies whether to update the path cache in response to ICMP redirect packets. 이 매개 변수에 허용되는 값은 다음과 같습니다.

-- Enabled. The IP interface updates the path cache in response to ICMP redirect packets.
-- Disabled. The IP interface does not update the path cache in response to ICMP redirect packets.

별칭

none

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-MediaSenseEventLog<MediaSenseEventLog[]>

Specifies an array of values for Media Sense event log. The cmdlet gets IPv4 protocol configurations that have these values. Media Sense event log specifies whether the computer logs DHCP Media Sense events. 이 매개 변수에 허용되는 값은 다음과 같습니다.

-- Enabled. The IP interface logs DHCP Media Sense events in the event log for troubleshooting purposes.
-- Disabled. The IP interface does not log DHCP Media Sense events in the event log.

별칭

none

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-MinimumMtu<UInt32[]>

Specifies an array of values, in bytes, for network layer Maximum Transmission Unit (MTU). The cmdlet gets settings that have the Mtu values that you specify.

별칭

none

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-MulticastForwarding<MulticastForwarding[]>

Specifies an array of values for multicast forwarding. The cmdlet gets IPv4 protocol configurations that have these values. 이 매개 변수에 허용되는 값은 다음과 같습니다.

-- Enabled. The computer can forward multicast packets.
-- Disabled. The computer cannot forward multicast packets.

별칭

none

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-NeighborCacheLimitEntries<UInt32[]>

Specifies an array of values for the maximum number of neighbor cache entries. The cmdlet gets IPv4 protocol configurations that have these values.

별칭

NeighborCacheLimit

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-RandomizeIdentifiers<RandomizeIdentifiers[]>

Specifies an array of values for the randomization of identifiers. The cmdlet gets IPv4 protocol configurations that have these values. 이 매개 변수에 허용되는 값은 다음과 같습니다.

-- Enabled. The IP interface randomizes identifiers when it creates an IP address.
-- Disabled. The IP interface does not randomize identifiers when it creates an IP address.

별칭

none

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-ReassemblyLimitBytes<UInt32[]>

Specifies an array of values for the maximum size of the reassembly buffer. The cmdlet gets IPv4 protocol configurations that have these values.

별칭

ReassemblyLimit

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-RouteCacheLimitEntries<UInt32[]>

Specifies an array of values for the maximum number of route cache entries. The cmdlet gets IPv4 protocol configurations that have these values.

별칭

RouteCacheLimit

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-SourceRoutingBehavior<SourceRoutingBehavior[]>

Specifies an array of values for the behavior for source-routed packets. The cmdlet gets IPv4 protocol configurations that have these values. 이 매개 변수에 허용되는 값은 다음과 같습니다.

-- DontForward. The computer can receive but not forward source-routed packets.
-- Drop. The computer drops source-routed packets.

별칭

none

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-ThrottleLimit<Int32>

Cmdlet을 실행하도록 설정할 수 있는 동시 작업의 최대 수를 지정합니다. 이 매개 변수를 생략하거나 값으로 0 을 입력하면 Windows PowerShell®은 컴퓨터에서 실행 중인 CIM cmdlet의 수에 따라 cmdlet에 대한 최적의 스로틀 제한을 계산합니다. 스로틀 제한은 현재 cmdlet에만 적용되고, 세션이나 컴퓨터에는 적용되지 않습니다.

별칭

none

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

<CommonParameters>

이 cmdlet은 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, -OutVariable 등의 일반 매개 변수를 지원합니다. 자세한 내용은 TechNet의 about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216)

<WorkflowParameters>

입력

입력 형식은 cmdlet으로 파이프할 수 있는 개체의 형식입니다.

  • None

출력

출력 형식은 cmdlet 실행 시 출력되는 개체의 형식입니다.

  • Microsoft.Management.Infrastructure.CimInstance#root\StandardCimv2\MSFT_NetIPv4Protocol

    Microsoft.Management.Infrastructure.CimInstance 개체는 WMI(Windows Management Instrumentation) 개체를 표시하는 래퍼 클래스입니다. 파운드 기호(#) 뒤의 경로는 기본 WMI 개체에 대한 네임 스페이스 및 클래스 이름을 제공합니다.

Example 1: Get all IPv4 protocol configurations

This command gets the global settings for all the IPv4 protocol configurations for the computer. The default output for the cmdlet does not include all properties of the NetIPv4Protocol object.

PS C:\> Get-NetIPv4Protocol

Example 2: Output all settings for IPv4 protocol configurations

This command gets the global settings for all IPv4 protocol configurations for the computer. The command uses the Format-List cmdlet to display all the properties in the output in the form of a table. For more information, type Get-Help Format-Table.

PS C:\> Get-NetIPv4Protocol | Format-List –Property *

관련 항목

Format-List

Set-NetIPv4Protocol

Get-NetIPv6Protocol