Powershell Command Used:
$LocalTempDir = $env:TEMP; $ChromeInstaller = “ChromeInstaller.exe”; (new-object System.Net.WebClient).DownloadFile(‘http://dl.google.com/chrome/install/375.126/chrome_installer.exe’, “$LocalTempDir$ChromeInstaller”); & “$LocalTempDir$ChromeInstaller” /silent /install; $Process2Monitor = “ChromeInstaller”; Do { $ProcessesFound = Get-Process | ?{$Process2Monitor -contains $_.Name} | Select-Object -ExpandProperty Name; If ($ProcessesFound) { “Still running: $($ProcessesFound -join ‘, ‘)” | Write-Host; Start-Sleep -Seconds 2 } else { rm “$LocalTempDir$ChromeInstaller” -ErrorAction SilentlyContinue -Verbose } } Until (!$ProcessesFound)
Google Chrome is a free web browser used by millions of users across the world. Especially with quick service and a user-friendly interface, it has become the most popular browser on the Windows OS and Mac OS X. Installing the Chrome browser is as simple as its interface. You might familiar with the installation of the Chrome browser that is quite straightforward and it is as simple as its interface.
You might be wondering why, and our first response would be, “Why not?” But, if you have this code handy, many technicians who plan to install Google Chrome will appreciate saving the extra step of going to Google, downloading, and running the installer.
But do you know that you can even install the Chrome browser using a simple command-line? Doesn’t it sound interesting? In this guide, we will explain a pretty easy way to install Google Chrome using Windows PowerShell.
This tutorial will apply for computers, laptops, desktops,and tablets running the Windows 10, Windows 8/8.1, Windows 7 operating systems.Works for all major computer manufactures (Dell, HP, Acer, Asus, Toshiba, Lenovo, Samsung).