Get-NetIPv6Protocol

Get-NetIPv6Protocol

Gets IPv6 protocol configurations.

構文

Parameter Set: ByName
Get-NetIPv6Protocol [-AddressMaskReply <AddressMaskReply[]> ] [-CimSession <CimSession[]> ] [-DefaultHopLimit <UInt32[]> ] [-DhcpMediaSense <DhcpMediaSense[]> ] [-GroupForwardedFragments <GroupForwardedFragments[]> ] [-IcmpRedirects <IcmpRedirects[]> ] [-MaxTemporaryDadAttempts <UInt32[]> ] [-MaxTemporaryDesyncTime <TimeSpan[]> ] [-MaxTemporaryPreferredLifetime <TimeSpan[]> ] [-MaxTemporaryValidLifetime <TimeSpan[]> ] [-MediaSenseEventLog <MediaSenseEventLog[]> ] [-MldLevel <MldLevel[]> ] [-MldVersion <MldVersion[]> ] [-MulticastForwarding <MulticastForwarding[]> ] [-NeighborCacheLimitEntries <UInt32[]> ] [-RandomizeIdentifiers <RandomizeIdentifiers[]> ] [-ReassemblyLimitBytes <UInt32[]> ] [-RouteCacheLimitEntries <UInt32[]> ] [-SourceRoutingBehavior <SourceRoutingBehavior[]> ] [-TemporaryRegenerateTime <TimeSpan[]> ] [-ThrottleLimit <Int32> ] [-UseTemporaryAddresses <UseTemporaryAddresses[]> ] [ <CommonParameters>] [ <WorkflowParameters>]

詳細説明

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

パラメーター

-AddressMaskReply<AddressMaskReply[]>

Specifies an array of values for address mask reply. The cmdlet gets the IPv6 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.

Aliases

none

必須/オプション

false

位置

named

既定値

none

パイプライン入力の受け入れ

false

ワイルドカード文字の受け入れ

false

-CimSession<CimSession[]>

リモート セッションまたはリモート コンピューターでコマンドレットを実行します。コンピューター名またはセッション オブジェクト (New-CimSession コマンドレットや Get-CimSession コマンドレットの出力など) を入力します。既定値は、ローカル コンピューター上の現在のセッションです。

Aliases

Session

必須/オプション

false

位置

named

既定値

none

パイプライン入力の受け入れ

false

ワイルドカード文字の受け入れ

false

-DefaultHopLimit<UInt32[]>

Specifies an array of values for the default hop limit. The cmdlet gets the IPv6 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.

Aliases

none

必須/オプション

false

位置

named

既定値

none

パイプライン入力の受け入れ

false

ワイルドカード文字の受け入れ

false

-DhcpMediaSense<DhcpMediaSense[]>

Specifies an array of values for Media Sense. The cmdlet gets IPv6 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

Aliases

none

必須/オプション

false

位置

named

既定値

none

パイプライン入力の受け入れ

false

ワイルドカード文字の受け入れ

false

-GroupForwardedFragments<GroupForwardedFragments[]>

Specifies an array of values for group forwarded fragments. The cmdlet gets IPv6 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.

Aliases

none

必須/オプション

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.

Aliases

none

必須/オプション

false

位置

named

既定値

none

パイプライン入力の受け入れ

false

ワイルドカード文字の受け入れ

false

-MaxTemporaryDadAttempts<UInt32[]>

Specifies an array of values for the maximum number of duplicate address detection attempts for temporary addresses. The cmdlet gets IPv6 protocol configurations that have these values.

Aliases

MaxDadAttempts

必須/オプション

false

位置

named

既定値

none

パイプライン入力の受け入れ

false

ワイルドカード文字の受け入れ

false

-MaxTemporaryDesyncTime<TimeSpan[]>

Specifies an array of values for the maximum time to desynchronize temporary address preferred lifetimes. The cmdlet gets IPv6 protocol configurations that have these values.

Aliases

MaxRandomTime

必須/オプション

false

位置

named

既定値

none

パイプライン入力の受け入れ

false

ワイルドカード文字の受け入れ

false

-MaxTemporaryPreferredLifetime<TimeSpan[]>

Specifies an array of values, as TimeSpan objects, for the maximum preferred lifetime over which to prefer a temporary address. The cmdlet gets IPv6 protocol configurations that have these values.

Aliases

MaxPreferredLifetime

必須/オプション

false

位置

named

既定値

none

パイプライン入力の受け入れ

false

ワイルドカード文字の受け入れ

false

-MaxTemporaryValidLifetime<TimeSpan[]>

Specifies an array of values, as TimeSpan objects, for the maximum lifetime over which a temporary address is valid. The cmdlet gets IPv6 protocol configurations that have these values.

Aliases

MaxValidLifetime

必須/オプション

false

位置

named

既定値

none

パイプライン入力の受け入れ

false

ワイルドカード文字の受け入れ

false

-MediaSenseEventLog<MediaSenseEventLog[]>

Specifies an array of values for Media Sense event log. The cmdlet gets IPv6 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.

Aliases

none

必須/オプション

false

位置

named

既定値

none

パイプライン入力の受け入れ

false

ワイルドカード文字の受け入れ

false

-MldLevel<MldLevel[]>

Specifies an array of values for the level of Multicast Listener Discovery (MLD) support. The cmdlet gets IPv6 protocol configurations that have these values. このパラメーターに指定できる値は、次のとおりです。

-- All. The computer can send and receive multicast packets.
-- None. The computer cannot send or receive multicast packets.
-- SendOnly. The computer can send but not receive multicast packets.

Aliases

none

必須/オプション

false

位置

named

既定値

none

パイプライン入力の受け入れ

false

ワイルドカード文字の受け入れ

false

-MldVersion<MldVersion[]>

Specifies an array of values for the maximum version of Multicast Listener Discovery that the host supports. The cmdlet gets IPv6 protocol configurations that have these values.

Aliases

none

必須/オプション

false

位置

named

既定値

none

パイプライン入力の受け入れ

false

ワイルドカード文字の受け入れ

false

-MulticastForwarding<MulticastForwarding[]>

Specifies an array of values for multicast forwarding. The cmdlet gets IPv6 protocol configurations that have these values. このパラメーターに指定できる値は、次のとおりです。

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

Aliases

none

必須/オプション

false

位置

named

既定値

none

パイプライン入力の受け入れ

false

ワイルドカード文字の受け入れ

false

-NeighborCacheLimitEntries<UInt32[]>

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

Aliases

NeighborCacheLimit

必須/オプション

false

位置

named

既定値

none

パイプライン入力の受け入れ

false

ワイルドカード文字の受け入れ

false

-RandomizeIdentifiers<RandomizeIdentifiers[]>

Specifies an array of values for the randomization of identifiers. The cmdlet gets IPv6 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.

Aliases

none

必須/オプション

false

位置

named

既定値

none

パイプライン入力の受け入れ

false

ワイルドカード文字の受け入れ

false

-ReassemblyLimitBytes<UInt32[]>

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

Aliases

ReassemblyLimit

必須/オプション

false

位置

named

既定値

none

パイプライン入力の受け入れ

false

ワイルドカード文字の受け入れ

false

-RouteCacheLimitEntries<UInt32[]>

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

Aliases

RouteCacheLimit

必須/オプション

false

位置

named

既定値

none

パイプライン入力の受け入れ

false

ワイルドカード文字の受け入れ

false

-SourceRoutingBehavior<SourceRoutingBehavior[]>

Specifies an array of values for the behavior for source-routed packets. The cmdlet gets IPv6 protocol configurations that have these values. このパラメーターに指定できる値は、次のとおりです。

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

Aliases

none

必須/オプション

false

位置

named

既定値

none

パイプライン入力の受け入れ

false

ワイルドカード文字の受け入れ

false

-TemporaryRegenerateTime<TimeSpan[]>

Specifies an array of values, as TimeSpan objects, for the time before deprecating a temporary address when a new address is generated.

The cmdlet gets IPv6 protocol configurations that have these values.

Aliases

RegenerateTime

必須/オプション

false

位置

named

既定値

none

パイプライン入力の受け入れ

false

ワイルドカード文字の受け入れ

false

-ThrottleLimit<Int32>

コマンドレットを実行する際に確立できる同時実行操作の最大数を指定します。このパラメーターを省略するか、値 0 を入力した場合、コンピューター上で実行されている CIM コマンドレットの数に基づいて、コマンドレットに最適なスロットル制限が Windows PowerShell® によって計算されます。スロットル制限は、セッションやコンピューターではなく、現在のコマンドレットにのみ適用されます。

Aliases

none

必須/オプション

false

位置

named

既定値

none

パイプライン入力の受け入れ

false

ワイルドカード文字の受け入れ

false

-UseTemporaryAddresses<UseTemporaryAddresses[]>

Specifies an array of values for temporary addresses. The cmdlet gets IPv6 protocol configurations that have these values. このパラメーターに指定できる値は、次のとおりです。

-- Always. The computer always generates temporary addresses by using random numbers.
-- Counter. The computer generates temporary addresses by using the interface identifier. You typically use this identifier for test purposes.
-- Disabled. The computer does not use temporary addresses.
-- Enabled. The computer uses temporary addresses.

Aliases

none

必須/オプション

false

位置

named

既定値

none

パイプライン入力の受け入れ

false

ワイルドカード文字の受け入れ

false

<CommonParameters>

このコマンドレットは共通のパラメーターをサポートしています(-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、および -OutVariable)。詳細については、TechNet の「 「about_CommonParameters」 (https://go.microsoft.com/fwlink/p/?LinkID=113216) を参照してください。

<WorkflowParameters>

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

  • None

出力

出力型は、コマンドレットが出力するオブジェクトの型です。

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

    Microsoft.Management.Infrastructure.CimInstance オブジェクトは、Windows Management Instrumentation (WMI) オブジェクトを表示するラッパー クラスです。基になる WMI オブジェクトの名前空間とクラス名は、シャープ記号 (#) に続くパスで指定されます。

使用例

Example 1: Get all IPv6 protocol configurations

This command gets all IPv6 protocol configurations for the IP interface. The default output for the cmdlet does not include all properties of the NetIPv6Protocol object.

PS C:\> Get-NetIPv6Protocol

Example 2: Output all properties of IPv6 protocol configurations

This command gets all IPv6 protocol configurations for the IP interface. 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. The command default output omits some properties.

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

関連項目

Set-NetIPv6Protocol

Get-NetIPv4Protocol