0

I am trying to enable split tunneling on my laptop (Windows 10), I learned one has to use PowerShell to do it in Windows 10:

Windows 10 split tunneling

But when I type that command:

set-vpnconnection office -splittunneling $True

I get an error message:

A parameter cannot be found that matches parameter name 'vpnconnection'.

Zlaya
  • 1
  • 1

2 Answers2

0

According to Microsoft, you have to import a module not already loaded to Powershell. In your case, it's called VpnClient. So in Powershell type this and press enter:

import-module vpnclient

Now you're good to go.

NetwOrchestration
  • 3,205
  • 2
  • 21
  • 33
0

I had a space between Set and -VpnConnection:

Set -VpnConnection [incorrect]

instead of:

Set-VpnConnection [correct]

Once syntax fixed, all worked (after restarting the VPN connectoin).

Apologies if I wasted anyone's time.

Zlaya
  • 1
  • 1