用powershell 安装chrome
$Path = $env:TEMP; $Installer = "chrome_installer.exe"; Invoke-WebRequest "http://dl.google.com/chrome/install/375.126/chrome_installer.exe" -OutFile $Path\$Installer; Start-Process -FilePath $Path\$Installer -Args "/silent /install" -Verb RunAs -Wait; Remove-Item $Path\$Installer
该PowerShell脚本从Google服务器下载chrome_installer.exe,然后在临时目录中执行安装过程,参数/silent/install确保安装过程在后台静默进行,无需用户交互,并在完成后删除安装文件。
654

被折叠的 条评论
为什么被折叠?



