Remove-NetTransportFilter
Remove-NetTransportFilter
Removes transport filters.
構文
Parameter Set: ByName
Remove-NetTransportFilter [-AssociatedTCPSetting <CimInstance> ] [-CimSession <CimSession[]> ] [-DestinationPrefix <String[]> ] [-LocalPortEnd <UInt16[]> ] [-LocalPortStart <UInt16[]> ] [-PassThru] [-Protocol <Protocol[]> ] [-RemotePortEnd <UInt16[]> ] [-RemotePortStart <UInt16[]> ] [-SettingName <String[]> ] [-ThrottleLimit <Int32> ] [-Confirm] [-WhatIf] [ <CommonParameters>] [ <WorkflowParameters>]
Parameter Set: InputObject (cdxml)
Remove-NetTransportFilter [-CimSession <CimSession[]> ] [-PassThru] [-ThrottleLimit <Int32> ] [-Confirm] [-WhatIf] [ <CommonParameters>] [ <WorkflowParameters>]
詳細説明
The Remove-NetTransportFilter cmdlet removes transport filters.
パラメーター
-AssociatedTCPSetting<CimInstance>
Specifies a NetTCPSetting object. The cmdlet removes 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 removes 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 |
-PassThru
作業中の項目を表すオブジェクトを返します。既定では、このコマンドレットから出力は生成されません。
Aliases |
none |
必須/オプション |
false |
位置 |
named |
既定値 |
none |
パイプライン入力の受け入れ |
false |
ワイルドカード文字の受け入れ |
false |
-Protocol<Protocol[]>
Specifies an array of types of routing protocols. The cmdlet removes 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 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 removes 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 |
-Confirm
コマンドレットを実行する前に確認メッセージを表示します。
必須/オプション |
false |
位置 |
named |
既定値 |
false |
パイプライン入力の受け入れ |
false |
ワイルドカード文字の受け入れ |
false |
-WhatIf
コマンドレットが実行された場合に何が起きるのかを示します。コマンドレットは実行されません。
必須/オプション |
false |
位置 |
named |
既定値 |
false |
パイプライン入力の受け入れ |
false |
ワイルドカード文字の受け入れ |
false |
<CommonParameters>
このコマンドレットは共通のパラメーターをサポートしています(-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、および -OutVariable)。詳細については、TechNet の「 「about_CommonParameters」 (https://go.microsoft.com/fwlink/p/?LinkID=113216) を参照してください。
<WorkflowParameters>
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
Microsoft.Management.Infrastructure.CimInstance#root\StandardCimv2\MSFT_NetTransportFilter
Microsoft.Management.Infrastructure.CimInstance
オブジェクトは、Windows Management Instrumentation (WMI) オブジェクトを表示するラッパー クラスです。基になる WMI オブジェクトの名前空間とクラス名は、シャープ記号 (#
) に続くパスで指定されます。
出力
出力型は、コマンドレットが出力するオブジェクトの型です。
- None
使用例
Example 1: Remove transport filters for a setting name
This command removes all of the transport filters on the server that have the setting name of Custom.
PS C:\> Remove-NetTransportFilter –SettingName Custom
Example 2: Remove transit filters for objects with a specified congestion window
This command uses the Get-NetTCPSetting cmdlet to get all of the NetTcpSetting objects that have an initial congestion window of 4 maximum segment size (MSS) units, and then passes them to the current cmdlet by using the pipeline operator. The command removes transport filters for these settings.
PS C:\> Get-NetTCPSetting –InitialCongestionWindowMss 4 | Remove-NetTransportFilter