Set-NetIsatapConfiguration
Set-NetIsatapConfiguration
Sets an ISATAP configuration on a computer or on a Group Policy Object (GPO).
構文
Parameter Set: ByName
Set-NetIsatapConfiguration [[-State] <State> ] [[-Router] <String> ] [[-ResolutionState] <State> ] [[-ResolutionIntervalSeconds] <UInt32> ] [-AsJob] [-CimSession <CimSession[]> ] [-GPOSession <String> ] [-IPInterface <CimInstance> ] [-PassThru] [-PolicyStore <String> ] [-ThrottleLimit <Int32> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: InputObject (cdxml)
Set-NetIsatapConfiguration [[-State] <State> ] [[-Router] <String> ] [[-ResolutionState] <State> ] [[-ResolutionIntervalSeconds] <UInt32> ] -InputObject <CimInstance[]> [-AsJob] [-CimSession <CimSession[]> ] [-PassThru] [-ThrottleLimit <Int32> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
詳細説明
The Set-NetIsatapConfiguration cmdlet sets an ISATAP configuration on a computer or on a Group Policy Object (GPO).
パラメーター
-AsJob
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-CimSession<CimSession[]>
リモート セッションまたはリモート コンピューターでコマンドレットを実行します。New-CimSession コマンドレットや Get-CimSession コマンドレットの出力など、コンピューター名またはセッション オブジェクトを入力します。既定値は、ローカル コンピューターで実行中の現在のセッションです。
エイリアス |
Session |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-GPOSession<String>
Specifies the Group Policy session to which to store the configuration information.
You can use this with the NetGPO cmdlets to aggregate multiple operations performed on a GPO.
You cannot use this parameter with the PolicyStore parameter.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-InputObject<CimInstance[]>
Specifies the object which contains ISATAP configuration to set.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByValue) |
ワイルドカード文字を許可する |
false |
-IPInterface<CimInstance>
Specifies the IP interface on which to set the ISATAP configuration.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByValue) |
ワイルドカード文字を許可する |
false |
-PassThru
作業中の項目を表すオブジェクトを返します。既定では、このコマンドレットによる出力はありません。
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-PolicyStore<String>
Specifies the policy store that contains the configuration to set.
このパラメーターに対して使用できる値:
-- PersistentStore
-- ActiveStore
-- GPO
To set the configuration of a GPO, specify the GPO name using the following format: Domain\GPOName
You cannot use this parameter with the GPOSession parameter.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-ResolutionIntervalSeconds<UInt32>
Specifies how often in seconds that Windows Server® 2012 attempts to contact the specified ISATAP server.
エイリアス |
ResolutionInterval |
必須? |
false |
位置は? |
5 |
既定値 |
False |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-ResolutionState<State>
Specifies the state of router name resolution. The state of the router name resolution specifies how often Windows Server 2012 resolves the ISATAP router name.
エイリアス |
なし |
必須? |
false |
位置は? |
4 |
既定値 |
False |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-Router<String>
Specifies the policy setting that allows you to specify a router name or IPv4 address for an ISATAP router.
If you enable this policy setting, then you can specify a router name or IPv4 address for an ISATAP router. If you enter an IPv4 address of the ISATAP router, then DNS services are not required.
エイリアス |
なし |
必須? |
false |
位置は? |
3 |
既定値 |
False |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-State<State>
Specifies the policy setting that allows you to configure ISATAP, an address-to-router and host-to-host, host-to-router and router-to-host automatic tunneling technology that provides unicast IPv6 connectivity between IPv6 hosts across an IPv4 intranet.
You can specify one of the following three policy setting states:
-- Default: If the ISATAP router name is resolved successfully, then ISATAP is configured with a link-local address and an address for each prefix received from the ISATAP router through stateless address auto-configuration.
---- If the ISATAP router name is not resolved successfully, then ISATAP connectivity is not available on the host using the corresponding IPv4 address.
-- Enabled:
---- If the ISATAP name is resolved successfully, then ISATAP is configured with a link-local address and an address for each prefix received from the ISATAP router through stateless address auto-configuration.
---- If the ISATAP name is not resolved successfully, then the ISATAP interface is configured with a link-local address.
-- Disabled: No ISATAP interfaces are present on the host.
エイリアス |
なし |
必須? |
false |
位置は? |
2 |
既定値 |
False |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-ThrottleLimit<Int32>
このコマンドレットを実行するために確立できる最大同時操作数を指定します。このパラメーターを省略するか、値として 0
を入力した場合、Windows PowerShell® では、コンピューターで実行している CIM コマンドレットの数に基づいて、コマンドレットに対する最適なスロットル制限を計算します。スロットル制限は現在のコマンドレットのみに適用され、セッションまたはコンピューターには適用されません。
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-Confirm
コマンドレットを実行する前に、ユーザーに確認を求めます。
必須? |
false |
位置は? |
named |
既定値 |
false |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-WhatIf
コマンドレットを実行するとどのような結果になるかを表示します。コマンドレットは実行されません。
必須? |
false |
位置は? |
named |
既定値 |
false |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
None
This cmdlet accepts no input objects.
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
Microsoft.Management.Infrastructure.CimInstance#root\StandardCimv2\MSFT_NetISATAPConfiguration
Microsoft.Management.Infrastructure.CimInstance
オブジェクトは、Windows Management Instrumentation (WMI) オブジェクトを表示するラッパー クラスです。シャープ記号 (#
) の後のパスは、基になる WMI オブジェクトの名前空間とクラス名です。
When the Passthru parameter is specified, this cmdlet outputs a modified ISATAP configuration object.
例
Example 1: Set ISATAP configuration
This command modifies the router name.
PS C:\> Set-NetIsatapConfiguration -Router superisatap
Example 2: Set a router using an input object
This set of commands uses the Get-NetIPInterface and Get-NetIsatapConfiguration cmdlets to get the ISATAP configuration of the interface at index 14 and stores it in a variable named $config, and then sets the router name to SuperIsatap using this cmdlet.
PS C:\> $config = ( Get-NetIPInterface -InterfaceIndex 14 | Get-NetIPISATAPConfiguration )
PS C:\> $config.Router = "SuperIsatap"
PS C:\> Set-NetIsatapConfiguration -InputObject $config
関連トピック
Get-NetIPInterface