Windows 10 - Create new VPN connection with username and password


hi,

i have task create several vpn connections in windows 10. far able create connections, still have enter username , password manually.

this got

add-vpnconnection -name server.name -serveraddress server.name -tunneltype sstp -encryptionlevel required -authenticationmethod mschapv2 -remembercredential

how can solve issue entering credentials manually per connection.

you can't.

you can use "-usewinlogoncredential"


\_(ツ)_/



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

CRL Revocation always failed

0x300000d errors in Microsoft Remote Desktop client

Failed to query the results of bpa xpath