Get-NetTransportFilter

Get-NetTransportFilter

Gets transport filters.

構文

Parameter Set: ByName
Get-NetTransportFilter [-AssociatedTCPSetting <CimInstance> ] [-CimSession <CimSession[]> ] [-DestinationPrefix <String[]> ] [-LocalPortEnd <UInt16[]> ] [-LocalPortStart <UInt16[]> ] [-Protocol <Protocol[]> ] [-RemotePortEnd <UInt16[]> ] [-RemotePortStart <UInt16[]> ] [-SettingName <String[]> ] [-ThrottleLimit <Int32> ] [ <CommonParameters>] [ <WorkflowParameters>]

詳細説明

The Get-NetTransportFilter cmdlet gets transport filters. A transport filter specifies the TCP settings, as a NetTcpSetting object, to apply to an IP address prefix or a TCP port range. Use the cmdlet without parameters to get all transport filters for the computer.

Use the New-NetTransportFilter cmdlet to create transport filters, and use the Remove-NetTransportFilter cmdlet to remove filters.

パラメーター

-AssociatedTCPSetting<CimInstance>

Specifies a NetTCPSetting object. The cmdlet gets transport filters associated with the setting that you specify. To obtain a NetTCPSetting object, use the Get-NetTCPSetting cmdlet.

Aliases

none

必須/オプション

false

位置

named

既定値

none

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

true (ByValue)

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

false

-CimSession<CimSession[]>

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

Aliases

Session

必須/オプション

false

位置

named

既定値

none

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

false

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

false

-DestinationPrefix<String[]>

Specifies an array of destination prefixes of IP routes. The cmdlet gets transport filters that have the prefixes that you specify. A destination prefix consists of an IP address prefix and a prefix length, separated by a slash (/).

Aliases

none

必須/オプション

false

位置

named

既定値

none

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

false

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

false

-LocalPortEnd<UInt16[]>

Specifies an array of upper bounds of ranges of local TCP ports. The cmdlet removes transport filters that have the upper bounds that you specify.

Aliases

none

必須/オプション

false

位置

named

既定値

none

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

false

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

false

-LocalPortStart<UInt16[]>

Specifies an array of lower bounds of ranges of local TCP ports. The cmdlet removes transport filters that have the lower bounds that you specify.

Aliases

none

必須/オプション

false

位置

named

既定値

none

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

false

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

false

-Protocol<Protocol[]>

Specifies an array of types of routing protocols. The cmdlet gets transport filters based on the protocols that you specify. このパラメーターに指定できる値は、次のとおりです。

-- Bbn
-- Bgp
-- Dhcp
-- Dvmrp
-- Egp
-- Eigrp
-- EsIs
-- Ggp
-- Hello
-- Icmp
-- Idpr
-- Igrp
-- IsIs
-- Local
-- NetMgmt
-- Ospf
-- Rip
-- Rpl
-- Other

Aliases

none

必須/オプション

false

位置

named

既定値

none

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

false

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

false

-RemotePortEnd<UInt16[]>

Specifies an array of upper bounds of ranges of remote TCP ports. The cmdlet removes transport filters that have the upper bounds that you specify.

Aliases

none

必須/オプション

false

位置

named

既定値

none

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

false

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

false

-RemotePortStart<UInt16[]>

Specifies an array of lower bounds of a ranges of remote TCP ports. The cmdlet removes transport filters that have the lower bounds that you specify.

Aliases

none

必須/オプション

false

位置

named

既定値

none

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

false

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

false

-SettingName<String[]>

Specifies an array of setting names. The cmdlet gets transport filters that have the settings that you specify. このパラメーターに指定できる値は、次のとおりです。

-- Internet
-- Datacenter
-- Compat
-- Custom

Aliases

none

必須/オプション

false

位置

named

既定値

none

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

false

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

false

-ThrottleLimit<Int32>

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

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_NetTransportFilter

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

使用例

Example 1: Get all transport filters

This command gets all the transport filters on the computer.

PS C:\> Get-NetTransportFilter

Example 2: Get transport filters that apply specified settings

This command gets transport filters that apply Internet settings.

PS C:\> Get-NetTransportFilter –SettingName Internet

関連項目

Get-NetUDPSetting

New-NetTransportFilter

Remove-NetTransportFilter

Set-NetTCPSetting

Set-NetUDPSetting