Install-WssVpnServer

Install-WssVpnServer

Installs a VPN server.

構文

Parameter Set: auto
Install-WssVpnServer [-ApplyToExistingUsers] [-AutoDetect] [-DenyAccessByDefault] [-NoSkip] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: dhcp
Install-WssVpnServer [-ApplyToExistingUsers] [-DenyAccessByDefault] [-NoSkip] [-UseDhcp] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: pool
Install-WssVpnServer [[-IPv4AddressRange] <IPAddress[]> ] [[-IPv6AddressPrefix] <IPAddress> ] [-ApplyToExistingUsers] [-DenyAccessByDefault] [-NoSkip] [-Confirm] [-WhatIf] [ <CommonParameters>]

詳細説明

The Install-WssVpnServer cmdlet installs a VPN server on .

パラメーター

-ApplyToExistingUsers

Indicates that access is granted to existing users.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-AutoDetect

Indicates that the VPN server automatically detect best-fit settings, regardless of previous settings.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-DenyAccessByDefault

Indicates that the VPN server deny access by default.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-IPv4AddressRange<IPAddress[]>

Specifies an array of IPv4 addresses for the static IP address pool.

エイリアス

なし

必須?

false

位置は?

1

既定値

なし

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

false

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

false

-IPv6AddressPrefix<IPAddress>

Specifies the prefix of IPv6 addresses for the static IP address pool.

エイリアス

なし

必須?

false

位置は?

2

既定値

なし

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

false

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

false

-NoSkip

Indicates that the VPN server installation runs, even if there are no changes to the previous installation.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-UseDhcp

Indicates that DHCP assigns IP addresses to VPN clients.

エイリアス

なし

必須?

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)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

Example 1: Install a VPN server

This command installs a VPN server.

PS C:\> Install-WssVpnServer -AutoDetect 

関連トピック

Test-WssVpnServerInstallation

Uninstall-WssVpnServer