Skip to content

Instantly share code, notes, and snippets.

@cxhercules
Created January 29, 2024 18:51
Show Gist options
  • Save cxhercules/ddbea440fcd62b8dbc26f478fbe522ea to your computer and use it in GitHub Desktop.
Save cxhercules/ddbea440fcd62b8dbc26f478fbe522ea 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