Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

New-AzureVNetGateway

New-AzureVNetGateway

microsoft.windowsazure.commands.servicemanagement.dll, microsoft.windowsazure.commands.servicemanagement.network.dll

Synopsis

Creates a new Microsoft Azure Virtual Network Gateway to the specified Microsoft Azure virtual network.

Syntax

New-AzureVNetGateway [-VNetName] [-GatewayType] [<CommonParameters>]

Detailed Description

The New-AzureVNetGateway cmdlet creates a new virtual network gateway for the specified Microsoft Azure virtual network. A virtual network gateway is a VPN endpoint for connecting to a Microsoft Azure virtual network.After the virtual network gateway has been created, you can get the shared key to allow you to configure the VPN device at the local network site to authenticate to the gateway with the Get-AzureVNetGatewayKey cmdlet.

Parameters

-VNetName <String>

Specifies the name of the virtual network for which the gateway is created.

Aliases

None

Required?

true

Position

0

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-GatewayType <GatewayType>

Aliases

None

Required?

false

Position

1

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type


Return Type


Notes

Examples

-------------------------- Example 1 --------------------------

This command creates a new VPN endpoint for the "MyProdNet" network.

PS C:\> C:\PS>New-AzureVNetGateway –VNetName "MyProdNet"