if it could not create by powershell on windows xp and 7 ,
please let me know how to create vpn profile by just one click.
thanks again.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi !
i made powershell script for create vpn profile on Windows 10 , but this script doesn't work on windows xp , embedded standard and 7 .
our pos system still using windows those windows version. and we need using L2TP client vpn of Cisco Meraki ,
can anyone makes me powershell script for each windows version ?
this is powershell script on windows 10 that is working very well.
$ServerAddress = "123.123.123.123"
$ConnectionName = "VPNTEST"
$PresharedKey = "vpntest"
$Destination = "192.168.33.0/24"
$Destination2 = "192.168.100.0/24"
Add-VpnConnection -Name "$ConnectionName" -ServerAddress "$ServerAddress" -TunnelType L2tp -L2tpPsk "$PresharedKey" -AuthenticationMethod Pap
Set-VpnConnection -Name $ConnectionName -SplitTunneling $True
Add-Vpnconnectionroute -Connectionname $ConnectionName -DestinationPrefix $Destination
Add-Vpnconnectionroute -Connectionname $ConnectionName -DestinationPrefix $Destination2
if it could not create by powershell on windows xp and 7 ,
please let me know how to create vpn profile by just one click.
thanks again.
Hi, the main purpose of this forum is to answer users' questions about script commands. The development of scripts is not the main task of this forum. Of course, we are very happy to see other users or experts able to solve your problem.
In addition, if you solve your problem yourself, you can post it in the post if necessary, so that users with the same problem can find the answer.