


You can also read here for additional info. It will work even if IE Enhanced Security is turned on, thus making it very useful for Windows Server brand-new installations when IE will prevent you from downloading Chrome. Well, technically it isn't an one-liner, but it works like it is. You can "silently install" Google Chrome on any modern Windows OS with the following Powershell one-liner: $LocalTempDir = $env:TEMP $ChromeInstaller = "ChromeInstaller.exe" (new-object ).DownloadFile('', "$LocalTempDir\$ChromeInstaller") & "$LocalTempDir\$ChromeInstaller" /silent /install $Process2Monitor = "ChromeInstaller" Do Until (!$ProcessesFound) $("Authorization", "Basic " + $credentialsB64) Ĭ:\temp\chrome_installer.exe /silent /install $credentialsB64 = ::ToBase64String($credentialsB64) $credentialsB64 = ::UTF8.GetBytes($credentials) # our curl command, with basic authentication if $credentials provided

