mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-09 13:04:59 +02:00
Add install-google-chrome.ps1
This commit is contained in:
7
Scripts/install-google-chrome.ps1
Normal file
7
Scripts/install-google-chrome.ps1
Normal file
@ -0,0 +1,7 @@
|
||||
### 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
|
Reference in New Issue
Block a user