mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-12-28 09:38:53 +01:00
8 lines
332 B
PowerShell
8 lines
332 B
PowerShell
|
### 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
|