-
-
Save radiumsoup/2e509470840aff022a533b3531c3f411 to your computer and use it in GitHub Desktop.
Install Chrome browser with a PowerShell one-liner
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Installes the latest version of Chrome for Windows | |
| $Path = $env:TEMP; $Installer = 'chrome_installer.exe'; Invoke-WebRequest -Uri 'http://dl.google.com/chrome/install/latest/chrome_installer.exe' -OutFile $Path\$Installer; Start-Process -FilePath $Path\$Installer -Args '/silent /install' -Verb RunAs -Wait; Remove-Item -Path $Path\$Installer | |
| # Thank you, nicolaigj! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment