CmdID / PowerShell / Cmdlets / Set
Set-VpnConnection
Changes the configuration settings of an existing VPN connection profile. Windows Server PowerShell reference
From the Windows Server PowerShell reference 26 parameters Its page in the reference
Parameters
Show its 26 parameters
-AllUserConnectionIndicates that the VPN connection specified is in the global phone book.-AsJobRuns the cmdlet as a background job.-AuthenticationMethodSpecifies the authentication method to use for the VPN connection.-CimSession, -SessionRuns the cmdlet in a remote session or on a remote computer.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-CustomConfigurationSpecifies an XML document that allows vendors to specify custom configuration information.-DnsSuffixSpecifies the DNS suffix of the VPN connection.-EapConfigXmlStreamSpecifies the contents of the EAP XML configuration file, which includes the EAP method ID.-EncryptionLevelSpecifies the encryption level for the VPN connection.-ForceIndicates that the pre-shared key (PSK) value is supplied over an insecure channel, if L2TP is used.-IdleDisconnectSecondsSpecifies the time, in seconds, before closing an idle connection.-L2tpPskSpecifies the value of the PSK to be used for L2TP authentication.-MachineCertificateEKUFilterSpecifies an array of enhanced key usage (EKU) filters for Internet Key Exchange version 2 (IKEv2) machine certificate selection.-MachineCertificateIssuerFilterSpecifies the X509 certificate of the issuer filter for IKEv2 machine certificate selection.-Name, -ConnectionNameSpecifies the name of the VPN connection profile.-PassThruReturns an object representing the item with which you are working.-PlugInApplicationIDSpecifies the identifier for a third party application.-RememberCredentialIndicates that the credentials supplied at the time of first successful connection is stored in the cache, if set to $True.-ServerAddress, -ServerName, -DefaultServerSpecifies the address of the remote VPN server to which the client connects.-ServerListSpecifies an array of VPN servers.-SplitTunnelingIndicates whether the cmdlet enables split tunneling for the VPN connection profile.-ThirdPartyVpnIndicates that the cmdlet runs for a third party profile.-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.-TunnelTypeSpecifies the type of tunnel used for the VPN connection.-UseWinlogonCredentialIndicates whether to use Windows logon credentials.-WhatIf, -wiShows what would happen if the cmdlet runs.