embed a username and password when configuring a VPN with PowerShell

Copper Contributor

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 to use UseWinlogonCredential as I need to use a service user to authenticate to the VPN.

I hope you can help me.

thanks

0 Replies