Windows 8.1 allows a VPN client to automatically connect to the corporate network. Admin can configure a list of applications that will trigger the VPN connection:
You can add applications to the VPN profile using the Add-VpnConnectionTriggerApplication cmdlet.
Add-VpnConnectionTriggerApplication [-Name] <string> –ApplicationID <String> -PassThru
You can remove applications from the VPN profile by using the cmdlet Remove-VpnConnectionTriggerApplication.
Remove-VpnConnectionTriggerApplication [-Name] <string> –ApplicationID <String> -PassThru
1. For modern apps, the ApplicationID is the package family name of the modern app. You can retrieve the package full name by using the Get-appxpackage cmdlet in Powershell prompt.
2. For traditional apps, the ApplicationID is the binary path where the application is installed on the machine.