Created
February 22, 2018 14:23
-
-
Save timothywarner/5de320a3c648bd9346af8cdbd4db8d14 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
$Path = $env:TEMP; $Installer = 'chrome_installer.exe'; Invoke-WebRequest -Uri '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 $Path\$Installer | |
# Thank you, nicolaigj! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
is this path still relevant? I am trying to incorporate this with Windows Sandbox Configuration.wsb
I had a working version but has stopped working recently, and I guess the URL changes depending on the version release?