Install-WssVpnServer

Installs a VPN server.

Syntax

Install-WssVpnServer
       [-AutoDetect]
       [-NoSkip]
       [-DenyAccessByDefault]
       [-ApplyToExistingUsers]
       [-WhatIf]
       [-Confirm]
       [<CommonParameters>]
Install-WssVpnServer
       [-UseDhcp]
       [-NoSkip]
       [-DenyAccessByDefault]
       [-ApplyToExistingUsers]
       [-WhatIf]
       [-Confirm]
       [<CommonParameters>]
Install-WssVpnServer
       [-NoSkip]
       [[-IPv4AddressRange] <IPAddress[]>]
       [[-IPv6AddressPrefix] <IPAddress>]
       [-DenyAccessByDefault]
       [-ApplyToExistingUsers]
       [-WhatIf]
       [-Confirm]
       [<CommonParameters>]

Description

The Install-WssVpnServer cmdlet installs a VPN server on sbs_sbs8_2.

Examples

Example 1: Install a VPN server

PS C:\> Install-WssVpnServer -AutoDetect

This command installs a VPN server.

Parameters

-ApplyToExistingUsers

Indicates that access is granted to existing users.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-AutoDetect

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

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DenyAccessByDefault

Indicates that the VPN server deny access by default.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-IPv4AddressRange

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

Type:IPAddress[]
Position:0
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-IPv6AddressPrefix

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

Type:IPAddress
Position:1
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-NoSkip

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

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-UseDhcp

Indicates that DHCP assigns IP addresses to VPN clients.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False