首页 > 其他分享 >windwos自动打开热点的脚本

windwos自动打开热点的脚本

时间:2024-10-06 10:20:20浏览次数:10  
标签:脚本 Networking Windows connectionProfile WindowsRuntime Connectivity NetworkOpera

powershell -ExecutionPolicy Bypass "$connectionProfile = [Windows.Networking.Connectivity.NetworkInformation,Windows.Networking.Connectivity,ContentType=WindowsRuntime]::GetInternetConnectionProfile(); $tetheringManager = [Windows.Networking.NetworkOperators.NetworkOperatorTetheringManager,Windows.Networking.NetworkOperators,ContentType=WindowsRuntime]::CreateFromConnectionProfile($connectionProfile); $tetheringManager.StartTetheringAsync();"

windwos自动打开热点的脚本_Async

把它拖到开机启动项目里,可以开机自动打开热点。

标签:脚本,Networking,Windows,connectionProfile,WindowsRuntime,Connectivity,NetworkOpera
From: https://blog.51cto.com/u_15389271/12178053

相关文章