Skip to content

Instantly share code, notes, and snippets.

@mark05e
Forked from mattwoolnough/Install-Chrome.ps1
Last active April 1, 2021 17:18
Show Gist options
  • Save mark05e/5e04ea049a9e700cacfba484efff63c5 to your computer and use it in GitHub Desktop.
Save mark05e/5e04ea049a9e700cacfba484efff63c5 to your computer and use it in GitHub Desktop.
Chrome install one-liner
$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