Skip to content

Instantly share code, notes, and snippets.

Created October 3, 2014 11:40
  • Star 71 You must be signed in to star a gist
  • Fork 19 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save kurokikaze/350fe1713591641b3b42 to your computer and use it in GitHub Desktop.
install chrome from powershell
(new-object System.Net.WebClient).DownloadFile('', 'c:/temp/chrome.exe');. c:/temp/chrome.exe /silent /install;rm c:/temp -rec
Copy link

shleeable commented Jul 27, 2022

$uri = "";
$path = "$PSScriptRoot\ChromeSetup.exe";
Invoke-WebRequest -Uri $uri -OutFile $path;
Start-Process $path /install -NoNewWindow -Wait; 
Remove-Item $path;

Copy link

ahashem87a commented Aug 4, 2022

Thanks @kyungjaepark! I've put this in a dedicated website, to make it easy for folks to quickly install Chrome/Firefox on a new machine, without having to type in the command: (works with without redirects as well, for folks installing versions of Windows that complain about HTTPS).

This is amazing work, thank you so much! If I could only find something similar for Adobe Reader my life would be complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment