Skip to content

Instantly share code, notes, and snippets.

@rmetzler
Forked from timothywarner/install-chrome.ps1
Created June 1, 2023 08:35
Show Gist options
  • Save rmetzler/bc6f2d93d66c79de1f77f533b4f6ea5f to your computer and use it in GitHub Desktop.
Save rmetzler/bc6f2d93d66c79de1f77f533b4f6ea5f to your computer and use it in GitHub Desktop.
Install Chrome browser with a PowerShell one-liner
$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