Score:0

How can i control "Disable class based route addition" with PowerShell?

cn flag

I use powershell to create a connection to VPN users. The default route checkbox can be unchecked with SplitTunneling, but what about routes based on classes ? VPN Server is StrongSWAN

My script for add VPN:

Add-VpnConnection -Name $VPNServer -ServerAddress $VPNServer -AuthenticationMethod Eap -RememberCredential -SplitTunneling -TunnelType Ikev2 -PassThru
Add-VpnConnectionRoute -ConnectionName $VPNServer -DestinationPrefix 10.10.20.0/24 -PassThru
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.