1.添加环境变量

[environment]::SetEnvironmentvariable("Path", [environment]::GetEnvironmentvariable("Path", "User")+";添加的路径", "User")