Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

How to add new group entry in Cisco Vpn using powershell

$
0
0

I am working on a powershell script to connect cisco vpn using powershell, I am able to connect to vpn but not sure how to add new group to vpn. I am using the following script

$vpn_profile = 'Test' $username = 'TestUser' $userPassword = ConvertTo-SecureString -String "Password" -AsPlainText -Force $credentials = new-object -typename System.Management.Automation.PSCredential -argumentlist $username,$userPassword $password = $credentials.GetNetworkCredential().Password Set-Location 'c:\Program Files (x86)\Cisco Systems\VPN Client' .\vpnclient.exe connect $vpn_profile user $username pwd $password Write-Host "You Are Connected" cd "C:\"



Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>