Skip to content

Instantly share code, notes, and snippets.

@dezren39
Forked from dsect/InstallChrome.ps1
Created June 15, 2022 15:48
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dezren39/d877bbeebef9390170c44cf4d0e0ec31 to your computer and use it in GitHub Desktop.
Save dezren39/d877bbeebef9390170c44cf4d0e0ec31 to your computer and use it in GitHub Desktop.
$Path = $env:TEMP
$Installer = "chrome_installer.exe"
Invoke-WebRequest "https://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$Installer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment