Windows简单维护常用命令
Stage I
Command
Win + r 执行
- 控制面板
control
- 软件卸载
appwiz.cpl
- 网络
ncpa.cpl
- 系统属性(配置path)
sysdm.cpl
- 任务计划
taskschd.msc
- 注册表
regedit
Stage II
Shell
脚本所在文件夹
- cmd
cd /d %~dp0
- powershell
cd Split-Path -Parent $MyInvocation.MyCommand.Definition
cd $PSScriptRoot
Registry
windows注册表删除右键菜单
打死我也再不随便改注册表了,又㕛叒叕因为改注册表把系统搞崩了
powershell download file
iwr [url] -outfile [outfile]
powershell temp add path
$env:Path += ";localtion"
powershell update path
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")