Last active
July 22, 2019 18:49
-
-
Save stewartadam/d57af50cf8d50979c4746ef0ab32f035 to your computer and use it in GitHub Desktop.
Install Google Chrome from PowerShell (i.e. how to avoid IE on Windows Server)
This file contains 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
# Credits to @nicolaigj: https://gist.github.com/kurokikaze/350fe1713591641b3b42#gistcomment-2074156 | |
$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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment