Can you remove VPN credentials via CMD or PowerShell

We have clients that use the Built in Windows VPN client. They save their credentials then their password changes and they cannot figure out how to remove the credentials so that they can use the new password.

Is there a way to clear the saved credentials for Windows VPN client using PowerShell or CMD line?

I tried to research this but not turning up anything useful.

Better to prevent saving those passwords in the first place, via Group Policy (https://social.technet.microsoft.com/Forums/windows/en-US/0204464d-e32d-4584-966b-60788cce0d6f/disable-creation-of-vpn-quotsessionquot-credential-in-credential-manager-without-disabling-all?forum=winserversecurity).

Passwords should be stored in the default Credential Vault, so yes, PowerShell to the rescue: https://gallery.technet.microsoft.com/scriptcenter/PowerShell-Credentials-d44c3cde

Go to Settings and search for VPN. You should find “Change virtual private networks (VPN)”.

There you should see the VPN you are looking for. Click on it and then click on Advanced options.

There you can see the user name. Click on Edit to update the credentials.