{"id":16784,"date":"2024-07-28T20:42:44","date_gmt":"2024-07-28T12:42:44","guid":{"rendered":"https:\/\/blog.iyatt.com\/?p=16784"},"modified":"2025-02-28T15:35:47","modified_gmt":"2025-02-28T07:35:47","slug":"windows-11-%e5%ae%9e%e7%8e%b0%e7%a7%bb%e5%8a%a8%e7%83%ad%e7%82%b9%e8%87%aa%e5%90%af%e5%8a%a8","status":"publish","type":"post","link":"https:\/\/blog.iyatt.com\/?p=16784","title":{"rendered":"Windows 11 \u5b9e\u73b0\u79fb\u52a8\u70ed\u70b9\u81ea\u542f\u52a8"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 ez-toc-wrap-center counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title ez-toc-toggle\" style=\"cursor:pointer\">\u76ee\u5f55<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/blog.iyatt.com\/?p=16784\/#%E8%83%8C%E6%99%AF\" >\u80cc\u666f<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/blog.iyatt.com\/?p=16784\/#%E6%93%8D%E4%BD%9C\" >\u64cd\u4f5c<\/a><ul class='ez-toc-list-level-2' ><li class='ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/blog.iyatt.com\/?p=16784\/#%E8%AE%BE%E7%BD%AE%E5%A5%BD%E7%83%AD%E7%82%B9%E4%BF%A1%E6%81%AF\" >\u8bbe\u7f6e\u597d\u70ed\u70b9\u4fe1\u606f<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/blog.iyatt.com\/?p=16784\/#%E5%85%81%E8%AE%B8_PowerShell_%E8%84%9A%E6%9C%AC%E6%89%A7%E8%A1%8C\" >\u5141\u8bb8 PowerShell \u811a\u672c\u6267\u884c<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/blog.iyatt.com\/?p=16784\/#%E5%88%9B%E5%BB%BA_PowerShell_%E8%84%9A%E6%9C%AC%E6%96%87%E4%BB%B6%E7%94%A8%E4%BA%8E%E5%AE%9E%E7%8E%B0_WiFi_%E6%89%93%E5%BC%80\" >\u521b\u5efa PowerShell \u811a\u672c\u6587\u4ef6\u7528\u4e8e\u5b9e\u73b0 WiFi \u6253\u5f00<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/blog.iyatt.com\/?p=16784\/#%E5%88%9B%E5%BB%BA%E8%87%AA%E5%8A%A8%E6%89%A7%E8%A1%8C%E4%BB%BB%E5%8A%A1\" >\u521b\u5efa\u81ea\u52a8\u6267\u884c\u4efb\u52a1<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h1><span class=\"ez-toc-section\" id=\"%E8%83%8C%E6%99%AF\"><\/span>\u80cc\u666f<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<p>\u516c\u53f8\u7684 WiFi \u7528\u8d77\u6765\u5f88\u5361\uff0c\u4f46\u662f\u7535\u8111\u6709\u7ebf\u4f7f\u7528\u7f51\u7edc\u53c8\u662f\u6b63\u5e38\u7684\uff0c\u53e6\u5916\u6211\u7528\u7684\u90a3\u53f0\u53f0\u5f0f\u673a\u662f\u6709\u65e0\u7ebf\u7f51\u5361\u7684\uff0c\u5e73\u65f6\u5c31\u662f\u7528\u7535\u8111\u5f00\u70ed\u70b9\u7ed9\u624b\u673a\u7528\uff0c\u4f46\u662f\u6bcf\u6b21\u5f00\u673a\u90fd\u8981\u81ea\u5df1\u624b\u52a8\u542f\u52a8\u5c31\u9ebb\u70e6\uff0c\u6709\u65f6\u5019\u8fd8\u5fd8\u4e86\u3002\u6240\u4ee5\u5230\u5904\u67e5\u627e\u65b9\u6cd5\u5c1d\u8bd5\uff0c\u7ec8\u4e8e\u627e\u5230\u4e00\u4e2a\u53ef\u884c\u7684\u65b9\u6848\u3002<\/p>\n<p>\u6d4b\u8bd5\u73af\u5883\uff1a<br \/>\nWindows 11 23H2\u300124H2<br \/>\nPowerShell 5.1\uff08\u4f7f\u7528\u9884\u88c5\u7684\u7248\u672c\uff09<\/p>\n<h1><span class=\"ez-toc-section\" id=\"%E6%93%8D%E4%BD%9C\"><\/span>\u64cd\u4f5c<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<h2><span class=\"ez-toc-section\" id=\"%E8%AE%BE%E7%BD%AE%E5%A5%BD%E7%83%AD%E7%82%B9%E4%BF%A1%E6%81%AF\"><\/span>\u8bbe\u7f6e\u597d\u70ed\u70b9\u4fe1\u606f<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u6309<code class=\"kb-btn\">Win<\/code>+<code class=\"kb-btn\">I<\/code>\u6253\u5f00\u8bbe\u7f6e\uff0c\u524d\u5f80<strong>\u7f51\u7edc\u548cInternet-\u300b\u79fb\u52a8\u70ed\u70b9<\/strong><br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2024\/07\/image-1722153974910.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 1002px; --smush-placeholder-aspect-ratio: 1002\/339;\" \/><\/p>\n<p>\u4e3b\u8981\u5c31\u662f\u8bbe\u7f6e\u7f51\u7edc\u540d\u79f0\u548c\u5bc6\u7801\uff0c\u9891\u6bb5\u6839\u636e\u9700\u8981\u81ea\u5df1\u9009\u62e9<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2024\/07\/image-1722154144020.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 713px; --smush-placeholder-aspect-ratio: 713\/535;\" \/><\/p>\n<p>\u7136\u540e\u6253\u5f00\u79fb\u52a8\u70ed\u70b9\uff0c\u53ef\u4ee5\u770b\u5230\u591a\u51fa\u6765\u4e00\u4e2a<strong>\u8282\u80fd<\/strong>\uff0c\u628a\u5b83\u5173\u6389\u5c31\u4e0d\u4f1a\u81ea\u52a8\u505c\u7528 WiFi \u4e86<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2024\/07\/image-1722154304098.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 1044px; --smush-placeholder-aspect-ratio: 1044\/427;\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E5%85%81%E8%AE%B8_PowerShell_%E8%84%9A%E6%9C%AC%E6%89%A7%E8%A1%8C\"><\/span>\u5141\u8bb8 PowerShell \u811a\u672c\u6267\u884c<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Windows \u9ed8\u8ba4\u7981\u6b62 PowerShell \u8fd0\u884c\u811a\u672c\u6587\u4ef6\uff0c<br \/>\n\u4ee5\u7ba1\u7406\u5458\u8eab\u4efd\u6253\u5f00<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2024\/07\/image-1722154654778.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 746px; --smush-placeholder-aspect-ratio: 746\/479;\" \/><\/p>\n<p>\u6267\u884c<\/p>\n<pre><code class=\"language-powershell\">Set-Executionpolicy RemoteSigned<\/code><\/pre>\n<p>\u8f93\u5165<strong>A<\/strong>\u56de\u8f66\u786e\u8ba4<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2024\/07\/image-1722154717362.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 962px; --smush-placeholder-aspect-ratio: 962\/276;\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E5%88%9B%E5%BB%BA_PowerShell_%E8%84%9A%E6%9C%AC%E6%96%87%E4%BB%B6%E7%94%A8%E4%BA%8E%E5%AE%9E%E7%8E%B0_WiFi_%E6%89%93%E5%BC%80\"><\/span>\u521b\u5efa PowerShell \u811a\u672c\u6587\u4ef6\u7528\u4e8e\u5b9e\u73b0 WiFi \u6253\u5f00<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u811a\u672c\u57fa\u4e8e <a href=\"https:\/\/gist.github.com\/primaryobjects\/8b54f7f4219960127f1f620116315a37\">https:\/\/gist.github.com\/primaryobjects\/8b54f7f4219960127f1f620116315a37<\/a><br \/>\n\u4fee\u6539\u3002<br \/>\n\u521b\u5efa\u4e00\u4e2a\u6587\u672c\u6587\u4ef6\uff0c\u5c06\u4e0b\u9762\u7684\u5185\u5bb9\u7c98\u7c98\u8fdb\u53bb\uff0c\u4fdd\u5b58\u540e\u6269\u5c55\u540d\u6539\u4e3a <strong>.ps1<\/strong><\/p>\n<pre><code class=\"language-powershell\">$PSVersionTable\n&quot;-&quot; * 100\n\nAdd-Type -AssemblyName System.Runtime.WindowsRuntime\n$asTaskGeneric = ([System.WindowsRuntimeSystemExtensions].GetMethods() | Where-Object { $_.Name -eq &#039;AsTask&#039; -and $_.GetParameters().Count -eq 1 -and $_.GetParameters()[0].ParameterType.Name -eq &#039;IAsyncOperation`1&#039; })[0]\n\nFunction Await($WinRtTask, $ResultType) {\n    $asTask = $asTaskGeneric.MakeGenericMethod($ResultType)\n    $netTask = $asTask.Invoke($null, @($WinRtTask))\n    $netTask.Wait(-1) | Out-Null\n    $netTask.Result\n}\n\nFunction AwaitAction($WinRtAction) {\n    $asTask = ([System.WindowsRuntimeSystemExtensions].GetMethods() | Where-Object { $_.Name -eq &#039;AsTask&#039; -and $_.GetParameters().Count -eq 1 -and !$_.IsGenericMethod })[0]\n    $netTask = $asTask.Invoke($null, @($WinRtAction))\n    $netTask.Wait(-1) | Out-Null\n}\n\nFunction Get_TetheringManager() {\n    $connectionProfile = [Windows.Networking.Connectivity.NetworkInformation,Windows.Networking.Connectivity,ContentType=WindowsRuntime]::GetInternetConnectionProfile()\n    $tetheringManager = [Windows.Networking.NetworkOperators.NetworkOperatorTetheringManager,Windows.Networking.NetworkOperators,ContentType=WindowsRuntime]::CreateFromConnectionProfile($connectionProfile)\n    return $tetheringManager;\n}\n\nFunction SetHotspot($Enable) {\n    $tetheringManager = Get_TetheringManager\n\n    if ($Enable -eq 1) {\n        if ($tetheringManager.TetheringOperationalState -eq 1)\n        {\n            &quot;Hotspot is already On!&quot;\n        }\n        else{\n            &quot;Hotspot is off! Turning it on&quot;\n            Await ($tetheringManager.StartTetheringAsync()) ([Windows.Networking.NetworkOperators.NetworkOperatorTetheringOperationResult])\n        }\n    }\n    else {\n        if ($tetheringManager.TetheringOperationalState -eq 1)\n        {\n            &quot;Hotspot is on! Turning it off&quot;\n            Await ($tetheringManager.StopTetheringAsync()) ([Windows.Networking.NetworkOperators.NetworkOperatorTetheringOperationResult])\n        }\n        else{\n            &quot;Hotspot is already Off!&quot;\n        }\n    }\n}\n\n# Define a function to check the status of the hotspot\nFunction Check_HotspotStatus() {\n    $tetheringManager = Get_TetheringManager\n    return $tetheringManager.TetheringOperationalState -eq &quot;Off&quot;\n}\n\n# Define a function to start the hotspot\nFunction Start_Hotspot() {\n    $tetheringManager = Get_TetheringManager\n    Await ($tetheringManager.StartTetheringAsync()) ([Windows.Networking.NetworkOperators.NetworkOperatorTetheringOperationResult])\n}\n\nFunction exitCountdown($sec)\n{\n    for (; $sec -ge 0; --$sec)\n    {\n        &quot;$sec&quot;\n        Start-Sleep -Seconds 1\n    }\n    exit 0\n}\n\nif ($args.Length -eq 0) {\n    while (Check_HotspotStatus) {\n        SetHotspot 1\n        Start-Sleep -Seconds 2\n        if (Check_HotspotStatus)\n        {\n            &quot;Failure.Try again in 2s.&quot;\n            Start-Sleep -Seconds 2\n            continue\n        }\n        else\n        {\n            &quot;Success.Exit in 10s.&quot;\n            exitCountdown 10\n            exit 0\n        }\n    }\n\n    &quot;Hotspot is already.Exit in 10s.&quot;\n    exitCountdown 10\n}\nelse {\n    switch ($args[0]) {\n        &quot;0&quot; {\n            SetHotspot 0\n            break\n        }\n        &quot;1&quot; {\n            SetHotspot 1\n            break\n        }\n        default {\n            &quot;Invalid parameter, please enter 1 to turn on hotspot, enter 0 to turn off hotspot&quot;\n            exit 1\n        }\n    }\n}<\/code><\/pre>\n<p>\u5efa\u8bae\u653e\u7f6e\u5230\u56fa\u5b9a\u8def\u5f84\uff0c\u6bd4\u5982\u6211\u653e\u7f6e\u5728<strong>%HOMEPATH%<\/strong>\u5bb6\u76ee\u5f55\u4e0b\uff0c\u547d\u540d\u4e3a <strong>hotspot.ps1<\/strong><br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2024\/07\/image-1722169727036.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 450px; --smush-placeholder-aspect-ratio: 450\/122;\" \/><\/p>\n<p><img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2024\/07\/image-1722169712657.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 711px; --smush-placeholder-aspect-ratio: 711\/306;\" \/><\/p>\n<p>\u8fd9\u4e2a\u811a\u672c\u63d0\u4f9b\u4e86\u4e09\u79cd\u6a21\u5f0f\uff08\u6ce8\u610f\u8fd9\u4e2a\u811a\u672c\u5728 Windows 11 \u9884\u88c5\u7684 PowerShell 5.x \u53ef\u4ee5\u8fd0\u884c\uff0c\u4f46\u5728\u81ea\u5df1\u5b89\u88c5\u7684\u65b0\u7684 7.x \u65e0\u6cd5\u4f7f\u7528\uff09<\/p>\n<pre><code class=\"language-powershell\"># \u7528\u4e8e\u5b9e\u73b0\u81ea\u542f\u52a8\npowershell \u3010hotspot.ps1\u8def\u5f84\u3011\n\n# \u624b\u52a8\u542f\u52a8\u70ed\u70b9\npowershell \u3010hotspot.ps1\u8def\u5f84\u30111\n\n# \u624b\u52a8\u5173\u95ed\u70ed\u70b9\npowershell \u3010hotspot.ps1\u8def\u5f84\u30110<\/code><\/pre>\n<h2><span class=\"ez-toc-section\" id=\"%E5%88%9B%E5%BB%BA%E8%87%AA%E5%8A%A8%E6%89%A7%E8%A1%8C%E4%BB%BB%E5%8A%A1\"><\/span>\u521b\u5efa\u81ea\u52a8\u6267\u884c\u4efb\u52a1<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u6253\u5f00<strong>\u4efb\u52a1\u8ba1\u5212\u7a0b\u5e8f<\/strong><br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2024\/07\/image-1722170075336.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 641px; --smush-placeholder-aspect-ratio: 641\/481;\" \/><\/p>\n<p>\u521b\u5efa\u4efb\u52a1<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2024\/07\/image-1722170128020.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 530px; --smush-placeholder-aspect-ratio: 530\/583;\" \/><\/p>\n<p>\u81ea\u5df1\u4e3a\u4efb\u52a1\u547d\u540d<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2024\/07\/image-1722170153457.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 630px; --smush-placeholder-aspect-ratio: 630\/537;\" \/><\/p>\n<p>\u65b0\u5efa\u89e6\u53d1\u5668\uff0c\u6bd4\u5982\u53ef\u4ee5\u9009\u62e9<strong>\u89e3\u9501\u65f6<\/strong>\uff08\u8f93\u5165\u5bc6\u7801\u8ba4\u8bc1\u8fdb\u5165\u684c\u9762\u65f6\uff09<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2024\/07\/image-1722170197509.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 761px; --smush-placeholder-aspect-ratio: 761\/604;\" \/><\/p>\n<p>\u65b0\u5efa\u64cd\u4f5c<br \/>\n<strong>\u7a0b\u5e8f\u6216\u811a\u672c<\/strong>\u5904\u586b<strong>C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe<\/strong><br \/>\n\u6dfb\u52a0\u53c2\u6570\u5904\u586b\u4e0a\u9762\u811a\u672c\u6587\u4ef6\u7684\u6240\u5728\u8def\u5f84\uff0c\u6bd4\u5982\u6211\u8fd9\u91cc\u662f<strong>%HOMEPATH%\\hotspot.ps1<\/strong><br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2024\/07\/image-1722170297227.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 748px; --smush-placeholder-aspect-ratio: 748\/606;\" \/><\/p>\n<p>\u5728<strong>\u6761\u4ef6<\/strong>\u680f\u53ef\u80fd\u4f1a\u9ed8\u8ba4\u52fe\u9009\u4f7f\u7528\u4ea4\u6d41\u7535\u624d\u542f\u52a8\u4efb\u52a1\uff08\u63d2\u4e0a\u7535\u6e90\u65f6\uff09\uff0c\u53bb\u6389\u7684\u8bdd\u4e0d\u63d2\u7535\u6e90\u9ed8\u8ba4\u4e5f\u542f\u7528(\u4e3b\u8981\u9488\u5bf9\u7b14\u8bb0\u672c\u7535\u8111\uff0c\u52fe\u9009\u4e86\u6ca1\u63d2\u7535\u6e90\u4e0d\u4f1a\u6267\u884c)<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2024\/07\/image-1722170387736.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 635px; --smush-placeholder-aspect-ratio: 635\/543;\" \/><\/p>\n<p>\u8bbe\u7f6e\u5b8c\uff0c\u786e\u5b9a\u5373\u53ef\uff0c\u53ef\u4ee5\u6309<code class=\"kb-btn\">Win<\/code>+<code class=\"kb-btn\">L<\/code>\u9501\u5b9a\uff0c\u518d\u5c1d\u8bd5\u767b\u5f55\u9a8c\u8bc1\u811a\u672c\u662f\u5426\u6309\u9884\u671f\u7684\u6267\u884c<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2024\/07\/image-1722169428245.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 632px; --smush-placeholder-aspect-ratio: 632\/556;\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u80cc\u666f \u516c\u53f8\u7684 WiFi \u7528\u8d77\u6765\u5f88\u5361\uff0c\u4f46\u662f\u7535\u8111\u6709\u7ebf\u4f7f\u7528\u7f51\u7edc\u53c8\u662f\u6b63\u5e38\u7684\uff0c\u53e6\u5916\u6211\u7528\u7684\u90a3\u53f0\u53f0\u5f0f\u673a\u662f\u6709\u65e0\u7ebf\u7f51\u5361\u7684\uff0c\u5e73\u65f6\u5c31 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"zakra_page_container_layout":"customizer","zakra_page_sidebar_layout":"customizer","zakra_remove_content_margin":false,"zakra_sidebar":"customizer","zakra_transparent_header":"customizer","zakra_logo":0,"zakra_main_header_style":"default","zakra_menu_item_color":"","zakra_menu_item_hover_color":"","zakra_menu_item_active_color":"","zakra_menu_active_style":"","zakra_page_header":true,"_lmt_disableupdate":"no","_lmt_disable":"no","footnotes":""},"categories":[1,594],"tags":[],"class_list":["post-16784","post","type-post","status-publish","format-standard","hentry","category-all","category-594"],"modified_by":"IYATT-yx","_links":{"self":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/posts\/16784","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=16784"}],"version-history":[{"count":3,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/posts\/16784\/revisions"}],"predecessor-version":[{"id":19011,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/posts\/16784\/revisions\/19011"}],"wp:attachment":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=16784"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=16784"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=16784"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}