Skip to content

Instantly share code, notes, and snippets.

@stewartadam
Last active July 22, 2019 18:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stewartadam/d57af50cf8d50979c4746ef0ab32f035 to your computer and use it in GitHub Desktop.
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)
# 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