如何使用命令行启用"Internet连接共享"?

Joh*_*ith 5 command-line windows-7 netsh

有没有办法在Windows 7(或更高版本)上使用命令行启用"Internet连接共享" ?也许使用"netsh"或类似的命令?

uta*_*ngo 2

我认为这个问题应该在 superuser.com 上。它就在那里: https: //superuser.com/questions/470319/how-to-enable-internet-connection-sharing-using-command-line

\n\n

如果您有兴趣如何以编程方式执行此操作,\xe2\x80\x93 这里是 GitHub 上的源代码: https: //github.com/utapyngo/icsmanager

\n