Skip to content

Instantly share code, notes, and snippets.

@EmmanuelTsouris
Last active May 1, 2019 15:56
Show Gist options
  • Save EmmanuelTsouris/68bfce38862b1eecde5987f8f0d09462 to your computer and use it in GitHub Desktop.
Save EmmanuelTsouris/68bfce38862b1eecde5987f8f0d09462 to your computer and use it in GitHub Desktop.
Install Chrome using PowerShell One Liner
$path = $env:TEMP; $arg="/silent /install"; $exe = "chrome_installer.exe"; $url="https://dl.google.com/chrome/install/latest/$exe"; Invoke-WebRequest $url -OutFile $path$exe; Start-Process -FilePath $path$exe -Args $arg -Verb RunAs -Wait; Remove-Item $path$exe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment