enable Win10 inbuild hotspot by cmd/batch/powershell

前端 未结 7 1957
渐次进展
渐次进展 2020-12-31 10:59

as the title says I search for a way to enable/disable the Hotspot inbuild in Win10 via the command prompt/powershell/a batch file. In the GUI it can be easily done with the

7条回答
  •  梦毁少年i
    2020-12-31 11:27

    The Windows 10 mobile hotspot gets started by the Windows Mobile Hotspot Service (icssvc). Using Powershell:

    Get the current state of the service:

    get-service "icssvc"
    

    Start the service:

    start-service "icssvc"
    

    Stop the service:

    stop-service "icssvc"
    

    If you want to configure the hotspot then thats another thing. You can Google "Configure Internet Connection Sharing with PowerShell" to get you started.

提交回复
热议问题