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.
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.