Difference between revisions of "小代码大作用:电脑开荒代码"
Jump to navigation
Jump to search
(Created page with "== Windows 可用 == == Debian 可用 ==") |
|||
Line 1: | Line 1: | ||
== Windows 可用 == |
== Windows 可用 == |
||
+ | <syntaxhighlight lang="powershell" line> |
||
− | |||
+ | # 文件 set-network-private.ps1 内容 |
||
+ | # Requires -RunAsAdministrator |
||
+ | Set-NetConnectionProfile -InterfaceAlias "以太网" -NetworkCategory Private |
||
+ | </syntaxhighlight> |
||
== Debian 可用 == |
== Debian 可用 == |
Revision as of 10:59, 19 September 2023
Windows 可用
1# 文件 set-network-private.ps1 内容
2# Requires -RunAsAdministrator
3Set-NetConnectionProfile -InterfaceAlias "以太网" -NetworkCategory Private