PowerShell/Scripts/install-google-chrome.ps1
2021-04-10 11:42:06 +02:00

8 lines
332 B
PowerShell
Executable File

### Silently installs latest google chrome ###
$Path = $env:TEMP;
$Installer = "chrome_installer.exe"
Invoke-WebRequest "http://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
exit 0