Set-NetTeredoConfiguration

Set-NetTeredoConfiguration

Modifies the Teredo configuration of a computer or a Group Policy object (GPO).

構文

Parameter Set: ByName
Set-NetTeredoConfiguration [[-Type] <Type> ] [[-ServerName] <String> ] [[-RefreshIntervalSeconds] <UInt32> ] [[-ClientPort] <UInt32> ] [[-ServerVirtualIP] <String> ] [[-DefaultQualified] <Boolean> ] [[-ServerShunt] <Boolean> ] [-AsJob] [-CimSession <CimSession[]> ] [-GPOSession <String> ] [-IPInterface <CimInstance> ] [-PassThru] [-PolicyStore <String> ] [-ThrottleLimit <Int32> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: InputObject (cdxml)
Set-NetTeredoConfiguration [[-Type] <Type> ] [[-ServerName] <String> ] [[-RefreshIntervalSeconds] <UInt32> ] [[-ClientPort] <UInt32> ] [[-ServerVirtualIP] <String> ] [[-DefaultQualified] <Boolean> ] [[-ServerShunt] <Boolean> ] -InputObject <CimInstance[]> [-AsJob] [-CimSession <CimSession[]> ] [-PassThru] [-ThrottleLimit <Int32> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

詳細説明

The Set-NetTeredoConfiguration cmdlet modifies the Teredo configuration of either a computer or a Group Policy Object (GPO).

パラメーター

-AsJob

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-CimSession<CimSession[]>

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

エイリアス

Session

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-ClientPort<UInt32>

Specifies the UDP port of the client computer. If this parameter is not specified, then the port is chosen by the operating system.

エイリアス

なし

必須?

false

位置は?

5

既定値

False

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-DefaultQualified<Boolean>

Determines if this cmdlet qualifies Teredo by default. The default value is False. This parameter can only be specified on GPOs.

エイリアス

なし

必須?

false

位置は?

7

既定値

False

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-GPOSession<String>

Specifies the Group Policy session to which to store the configuration information.
You can use this parameter 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 the Teredo configuration information to modify.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByValue)

ワイルドカード文字を許可する

false

-IPInterface<CimInstance>

Specifies the interface on which to set the Teredo configuration. If the specified interface is not a Teredo interface, then the cmdlet does not return any configuration.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByValue)

ワイルドカード文字を許可する

false

-PassThru

作業中の項目を表すオブジェクトを返します。既定では、このコマンドレットによる出力はありません。

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-PolicyStore<String>

Specifies the policy store that contains the configuration to set.
このパラメーターに対して使用できる値:
-- PersistentStore
-- GPO
The default value is PersistentStore.
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

-RefreshIntervalSeconds<UInt32>

Specifies the client refresh interval in seconds.

エイリアス

RefreshInterval

必須?

false

位置は?

4

既定値

False

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-ServerName<String>

Specifies the name or IPv4 address of the Teredo server.

エイリアス

なし

必須?

false

位置は?

3

既定値

False

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-ServerShunt<Boolean>

Indicates that the tunnel miniport and IPv4 routing layer are bypassed for high throughput on the Teredo relay functionality of the Teredo server.

エイリアス

なし

必須?

false

位置は?

8

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-ServerVirtualIP<String>

Specifies the virtual IPv4 address of the server. This parameter is not applicable if the computer is a Teredo client. This parameter can only be specified on GPOs.

エイリアス

なし

必須?

false

位置は?

6

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-ThrottleLimit<Int32>

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

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-Type<Type>

Specifies the state of Teredo.
このパラメーターに対して使用できる値:
-- Disabled: Disables the Teredo service.
-- Client: Enables the Teredo client.
-- Enterpriseclient: Skips the managed network detection.
-- Server: Enables the Teredo server.
-- Default: The default state is client.

エイリアス

なし

必須?

false

位置は?

2

既定値

なし

パイプライン入力を許可する

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_NetTeredoConfiguration

    Microsoft.Management.Infrastructure.CimInstance オブジェクトは、Windows Management Instrumentation (WMI) オブジェクトを表示するラッパー クラスです。シャープ記号 (#) の後のパスは、基になる WMI オブジェクトの名前空間とクラス名です。
    When the Passthru parameter is specified, this cmdlet outputs a modified Teredo configuration object.

Example 1: Set the Teredo server name

This command sets the Teredo server name to Test on the local persistent store.

PS C:\> Set-NetTeredoConfiguration -ServerName "Test"

Example 2: Set the Teredo state

This command sets the Teredo state to enterpriseclient in a GPO named Domain\GPOname.

PS C:\> Set-NetTeredoConfiguration -Type enterpriseclient -PolicyStore "Domain\GPOname"

関連トピック

Get-NetTeredoConfiguration

Reset-NetTeredoConfiguration