mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-23 00:13:36 +01:00
Add install-google-chrome.ps1
This commit is contained in:
parent
2536c282bb
commit
330fb1366a
@ -54,6 +54,7 @@ go-root.ps1, go to the root directory (C: on Windows)
|
||||
go-scripts.ps1, go to the PowerShell Scripts folder
|
||||
hibernate.ps1, enables hibernate mode for the local computer (requires admin rights)
|
||||
inspect-exe.ps1, prints basic information of the given executable file
|
||||
install-google-chrome.ps1, installs the Google Chrome browser
|
||||
introduce-powershell.ps1, introduces PowerShell to new users
|
||||
list-aliases.ps1, lists all PowerShell aliases
|
||||
list-anagrams.ps1, lists all anagrams of the given word
|
||||
|
|
@ -43,6 +43,7 @@ Mega Collection of PowerShell Scripts
|
||||
* [enable-ssh-client.ps1](Scripts/enable-ssh-client.ps1) - enables the SSH client (needs admin rights)
|
||||
* [enable-ssh-server.ps1](Scripts/enable-ssh-server.ps1) - enables the SSH server (needs admin rights)
|
||||
* [hibernate.ps1](Scripts/hibernate.ps1) - enables hibernate mode for the local computer (needs admin rights)
|
||||
* [install-google-chrome.ps1](Scripts/install-google-chrome.ps1) - installs the Google Chrome browser
|
||||
* [list-drives.ps1](Scripts/list-drives.ps1) - lists all drives
|
||||
* [list-network-shares.ps1](Scripts/list-network-shares.ps1) - lists the network shares of the local computer
|
||||
* [list-current-timezone.ps1](Scripts/list-current-timezone.ps1) - lists the current time zone details
|
||||
|
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
|
Loading…
Reference in New Issue
Block a user