Set-RemoteAccessRoutingDomain
Set-RemoteAccessRoutingDomain
Configures S2S VPN settings for a routing domain configuration.
構文
Parameter Set: EncryptionType
Set-RemoteAccessRoutingDomain [-Name] <String> [-AsJob] [-CimSession <CimSession[]> ] [-DnsIPAddress <IPAddress[]> ] [-EnableQoS <EnableQoS> ] [-EncryptionType <String> ] [-Force] [-InterimAccountingPeriodSec <UInt32> ] [-IPAddressRange <String[]> ] [-IPv6Prefix <String> ] [-MaximumVpnConnections <UInt32> ] [-NetBiosIPAddress <IPAddress[]> ] [-PassThru] [-RxBandwidthKbps <UInt64> ] [-TenantName <String[]> ] [-ThrottleLimit <Int32> ] [-TxBandwidthKbps <UInt64> ] [ <CommonParameters>]
Parameter Set: CustomPolicy
Set-RemoteAccessRoutingDomain [-Name] <String> -CustomPolicy [-AsJob] [-AuthenticationTransformConstant <AuthenticationTransformConstant> ] [-CimSession <CimSession[]> ] [-CipherTransformConstant <CipherTransformConstant> ] [-DHGroup <DHGroup> ] [-DnsIPAddress <IPAddress[]> ] [-EnableQoS <EnableQoS> ] [-EncryptionMethod <EncryptionMethod> ] [-Force] [-IdleDisconnectSec <UInt32> ] [-IntegrityCheckMethod <IntegrityCheckMethod> ] [-InterimAccountingPeriodSec <UInt32> ] [-IPAddressRange <String[]> ] [-IPv6Prefix <String> ] [-MaximumVpnConnections <UInt32> ] [-NetBiosIPAddress <IPAddress[]> ] [-PassThru] [-PfsGroup <PfsGroup> ] [-RxBandwidthKbps <UInt64> ] [-SaLifeTimeSec <UInt32> ] [-SaRenegotiationDataSizeKB <UInt32> ] [-TenantName <String[]> ] [-ThrottleLimit <Int32> ] [-TxBandwidthKbps <UInt64> ] [ <CommonParameters>]
詳細説明
The Set-RemoteAccessRoutingDomain cmdlet configures site to site (S2S) virtual private network (VPN) settings for a routing domain.
パラメーター
-AsJob
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-AuthenticationTransformConstant<AuthenticationTransformConstant>
Specifies a transform constant. このパラメーターに対して使用できる値:
-- MD596
-- SHA196
-- SHA256128
-- GCMAES128
-- GCMAES192
-- GCMAES256
-- None
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
2 |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-CimSession<CimSession[]>
リモート セッションまたはリモート コンピューターでコマンドレットを実行します。New-CimSession コマンドレットや Get-CimSession コマンドレットの出力など、コンピューター名またはセッション オブジェクトを入力します。既定値は、ローカル コンピューターで実行中の現在のセッションです。
エイリアス |
Session |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-CipherTransformConstant<CipherTransformConstant>
Specifies a cipher transform constant. このパラメーターに対して使用できる値:
-- DES
-- DES3
-- AES128
-- AES192
-- AES256
-- GCMAES128
-- GCMAES192
-- GCMAES256
-- None
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
1 |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-CustomPolicy
Indicates that the interface uses custom Internet Key Exchange (IKE) IPsec policies.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-DHGroup<DHGroup>
Specifies the Diffie-Hellman (DH) group for the IKE policy. このパラメーターに対して使用できる値:
-- None
-- Group1
-- Group2
-- Group14
-- ECP256
-- ECP384
-- Group24
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
2 |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-DnsIPAddress<IPAddress[]>
Specifies an array of IP addresses.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-EnableQoS<EnableQoS>
Indicates whether to enable Quality of Service (QoS) on an interface. このパラメーターに対して使用できる値:
-- Enabled
-- Disabled
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByValue, ByPropertyName) |
ワイルドカード文字を許可する |
false |
-EncryptionMethod<EncryptionMethod>
Specifies the encryption method for IKE policy. このパラメーターに対して使用できる値:
-- DES
-- DES3
-- AES128
-- AES192
-- AES256
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
4 |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-EncryptionType<String>
Specifies the type of encryption. このパラメーターに対して使用できる値:
-- NoEncryption
-- RequireEncryption
-- OptionalEncryption
-- MaximumEncryption
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
RequireEncryption |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-Force
ユーザーの確認を求めずにコマンドを強制的に実行します。
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-IdleDisconnectSec<UInt32>
Specifies the time interval, in seconds, after which an idle connection is disconnected. Unless you disable idle timeout, an idle connection is disconnected after this time interval is exceeded.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
300 |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-IntegrityCheckMethod<IntegrityCheckMethod>
Specifies an integrity check method for the IPsec policy. このパラメーターに対して使用できる値:
-- MD5
-- SHA1
-- SHA256
-- SHA384
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
2 |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-InterimAccountingPeriodSec<UInt32>
Specifies a time interval, in seconds, for interim accounting.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-IPAddressRange<String[]>
Specifies an array of IP addresses to allocate to VPN clients. The array consists of a beginning IP address and an ending IP address.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-IPv6Prefix<String>
Specifies the IPv6 prefix used for IPv6 address assignment.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
fe80::/64 |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-MaximumVpnConnections<UInt32>
Specifies the maximum number of concurrent VPN connections.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
100 |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-Name<String>
Specifies the name of a routing domain.
エイリアス |
RoutingDomainName,RoutingDomain |
必須? |
true |
位置は? |
1 |
既定値 |
null |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-NetBiosIPAddress<IPAddress[]>
Specifies an array of IP addresses for NetBIOS names.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-PassThru
作業中の項目を表すオブジェクトを返します。既定では、このコマンドレットによる出力はありません。
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-PfsGroup<PfsGroup>
Specifies the PFS group in the IPsec policy.
-- PFS1
-- PFS2
-- PFS2048
-- ECP256
-- ECP384
-- PFSMM
-- PFS24
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
3 |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-RxBandwidthKbps<UInt64>
Specifies the receive, or ingress, bandwidth limit, in kilobits per second (Kbps).
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByValue, ByPropertyName) |
ワイルドカード文字を許可する |
false |
-SaLifeTimeSec<UInt32>
Specifies the lifetime, in seconds, of a security association (SA). The SA is no longer valid after this time interval.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
7200 |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-SaRenegotiationDataSizeKB<UInt32>
Specifies the amount of data, in kilobytes (KB), that can be transferred using a security association (SA). When the limit is reached, the SA must be renegotiated.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
10000 |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-TenantName<String[]>
Specifies an array of tenant names.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-ThrottleLimit<Int32>
このコマンドレットを実行するために確立できる最大同時操作数を指定します。このパラメーターを省略するか、値として 0
を入力した場合、Windows PowerShell® では、コンピューターで実行している CIM コマンドレットの数に基づいて、コマンドレットに対する最適なスロットル制限を計算します。スロットル制限は現在のコマンドレットのみに適用され、セッションまたはコンピューターには適用されません。
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-TxBandwidthKbps<UInt64>
Specifies a transmit, or egress, bandwidth limit, in Kbps, for the interface.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByValue, ByPropertyName) |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
- Microsoft.Management.Infrastructure.CimInstance#VpnRoutingDomainConfig
例
Example 1: Modify the configuration for a routing domain
This command modifies configuration settings for a specified routing domain in a multitenant environment and displays the resulting configuration.
PS C:\> Set-RemoteAccessRoutingDomain -RoutingDomain Rd_01 -IPAddressRange @("10.0.0.1","10.0.0.10") -Passthru
Example 2: Modify configuration for IPv6 addresses and encryption
This command modifies configuration settings for a routing domain in a multitenant environment and displays the resulting configuration.
PS C:\> Set-RemoteAccessRoutingDomain -RoutingDomain Rd_01 -IPAddressRange @("10.0.0.1","10.0.0.10") -IPv6Prefix 3ffe::/64 -EncryptionType OptionalEncryption -Passthru
関連トピック
Disable-RemoteAccessRoutingDomain