There are several limitations to this method, however. Get-VpnConnection -Name ‘Always On VPN’ | Remove-VpnConnection -Force ![]() There are a variety of ways to remove an existing Always On VPN connection, with the quickest and simplest being PowerShell and the Remove-VpnConnection cmdlet. Microsoft is aware of the issue and hopefully it will be resolved in the near future. This is due to an apparent bug whereby the MDM_VPNv2_01 WMI class can’t be enumerated. Important Note! The PowerShell script mentioned in this post is broken in Windows 11 and some later versions of Windows 10. That said, there will invariably come a time when an administrator has to remove an Always On VPN connection. While the preferred method for deploying Always On VPN is Microsoft Intune, using PowerShell is often helpful for initial testing, and required for production deployment with System Center Configuration Manager (SCCM) or Microsoft Endpoint Manager (MEM). Much has been written about provisioning Windows 10 Always On VPN client connections over the past few years.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |