Forum Discussion
jorgeglez
Oct 02, 2020Copper Contributor
embed a username and password when configuring a VPN with PowerShell
Hello, good morning community, Is there a way to embed a username and password when configuring a VPN with PowerShell? I am using the command Add-VpnConnection In this case, I dont want t...
VirgilAwesome
Jan 20, 2026Copper Contributor
Employ the Set-VpnConnection command with the -SplitTunneling $true parameter, and utilise the rasdial command with the /phonebook parameter to embed credentials.