script for sharing wifi via ethernet in Windows10?

1

I'd like to script a procedure I manually do through windows 10's GUI that shares a computer wlan via ethernet.

Here's the GUI procedure:

  1. open "Network and Sharing Center"
  2. click on the Wi-Fi Connection to open "Wi-Fi State" window
  3. click "Properties"
  4. open "Sharing" tab
  5. enable "Allow other network users [...]"
  6. select "Local Area Connection"

I've been reading about netsh but couldn't find a way to share/unshare the wifi connection with this command? Is this only possible?

Any help appreciated!

FreDel

Posted 2016-03-25T12:07:29.957

Reputation: 11

Question was closed 2016-03-25T23:21:03.240

No answers