3,135
edits
== Windows 可用 ==
; set-network-private.ps1▼
: 用于把公用网络改为私用网络,实现全屋共享▼
<syntaxhighlight lang="powershell" line>
Set-NetConnectionProfile -InterfaceAlias "以太网" -NetworkCategory Private
</syntaxhighlight>
; shutdown.bat▼
: 用于双击立即关机,省下从开始键点好几下才关机的功夫▼
<syntaxhighlight lang="powershell" line>
@echo off
shutdown.exe /s /t 00
|