When I create a new Windows VM, I am to lazy to open the Edge and download Chrome. So I use the command on PowerShell to install Chrome directly
First, open the PowerShell.
Second, copy the script and run it.
$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
Finally, the Chrome will be installed successfully.





發表留言