-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Description
The documentation AzureRM-Doc and here Azure-P2S-VPN-Doc suggest creating a VPN client configuration using this command:
New-AzureRmVpnClientConfiguration -ResourceGroupName "TestRG" -VirtualNetworkGatewayName "VNet1GW" -AuthenticationMethod "EapTls"
However, when I try to invoke this command (replacing the example values of 'ResourceGroupName' and 'VNet1GW' with the respective values of my setup, of course), I get the following (German) error message (saying that no parameter named 'VirtualNetworkGatewayName' has been found):
New-AzureRmVpnClientConfiguration : Es wurde kein Parameter gefunden, der dem Parameternamen VirtualNetworkGatewayName entspricht.
Invoking
New-AzureRmVpnClientConfiguration -ResourceGroupName "TestRG" -AuthenticationMethod "EapTls"
instead yields:
New-AzureRmVpnClientConfiguration : 'virtualNetworkGatewayName' cannot be null.
I tried defining a variable $virtualNetworkGatewayName and specifying virtualNetworkGatewayName (note the lower-case 'v'), but neither worked.
Cmdlet(s)
New-AzureRmVpnClientConfiguration
PowerShell Version
5.1.14393.1715
Module Version
AzureRM.Network: 4.4.0
AzureRM.Profile: 3.4.0
OS Version
10.0.14393.1715