【Windows】powershell 命令
直接创建本地账户
start ms-cxh:localonly
MAS脚本
irm https://get.activated.win | iex
恢复旧版右键菜单
reg add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve
高性能电源
powercfg -setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c
删除powershell 历史记录
Remove-Item (Get-PSReadlineOption).HistorySavePath
通过命令提示符进入管理员模式
Start-Process powershell -Verb runAs
Start-Process powershell -Verb runAs -ArgumentList '-NoExit', '-Command', "Set-Location -Path '$PWD'"
评论区(暂无评论)