MGP
MGP

Reputation: 2551

Connect to Mobile Network on Laptop via Commandline

I have a SIM-Card in my Laptop and I want to automate the connection. I have removed the PIN from the SIM-Card. I can disconnect with

netsh mbn disconnect interface="Cellular"

This works. If I try to connect with

netsh mbn connect interface="Cellular"

I get an error, that one or more Parameters are wrong for the command.

I'm using a Windows 10 Machine.

Upvotes: 1

Views: 1980

Answers (1)

MGP
MGP

Reputation: 2551

As suggested by B--rian I ended up using

netsh mbn connect interface="Cellular" connmode=name name="{...}"

I had to disable the PIN for this to work.

Upvotes: 1

Related Questions