Skip to content

Instantly share code, notes, and snippets.

@dsect
Created May 17, 2022 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save dsect/b2f8d7b1aa45afbda0d9a9f1b0319b1b to your computer and use it in GitHub Desktop.
Save dsect/b2f8d7b1aa45afbda0d9a9f1b0319b1b 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