PowerShell Logo Small

New-VpnServerAddress



This is the built-in help made by Microsoft for the command 'New-VpnServerAddress', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Creates a VPN server address object.

SYNTAX


New-VpnServerAddress [-ServerAddress] <String> [-FriendlyName] <String> [-AsJob] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-Confirm] [-WhatIf]
[<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The New-VpnServerAddress cmdlet creates a virtual private network (VPN) server address object. Specify a server by name or by IP address, and specify a friendly name for the
address of the server.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkID=290782
Add-VpnConnection

REMARKS

<

Examples


Example 1: Create a VPN server address by using an FQDN

PS C:\>New-VpnServerAddress -ServerAddress "RAS.Washington.Contoso.com" -FriendlyName "Washington"
ServerAddress : RAS.Washington.Contoso.com

FriendlyName : Washington



This command creates a VPN server address object that has the FQDN RAS.Washington.Contoso.com. The command specifies the name Washington for the server address.




Example 2: Create a VPN server address by using an IP address

PS C:\>New-VpnServerAddress -ServerAddress "172.16.12.3" -FriendlyName "Singapore"
ServerAddress : 207.56.12.03

FriendlyName : Singapore



This command creates a VPN server address object that has the IP address 172.16.12.3. The command specifies the name Singapore for the server address.