删除powershell 历史记录
Remove-Item (Get-PSReadlineOption).HistorySavePath
通过命令提示符进入管理员模式
Start-Process powershell -Verb runAs
Start-Process powershell -Verb runAs -ArgumentList '-NoExit', '-Command', "Set-Location -Path '$PWD'"
直接创建本地账户
start ms-cxh:localonly
评论区(暂无评论)