cmd - start/stop wifi ap

::create profile
::netsh wlan export profile name="MyAp" folder=c:\MyAppDir interface="wifi1"
::netsh wlan show profiles

::netsh interface set interface name="local" admin=DISABLED

netsh wlan set hostednetwork mode=allow

netsh wlan set hostednetwork mode=allow ssid=MyAp key=1234567890

netsh wlan show hostednetwork


netsh wlan start hostednetwork

netsh wlan stop hostednetwork

猜你喜欢

转载自www.cnblogs.com/reboost/p/9691909.html