How To's Windows Windows Server

How to Install Chrome in Windows Server using Powershell

[vc_row][vc_column][vc_column_text]In this article will guide you how to install Google Chrome in Windows Server with powershell, by default the browser of windows server is Internet Explorer and by default it blocks all connections which is hassle  to browse through the internet which you need to allow one by one the connection.

To install google chrome you can follow these easy steps and its easier to work with, hassle free.

1.Open search or go to start and search for powershell and run with admin privilege’s (run as administrator)

2. Paste the following code in powershell

$LocalTempDir = $env:TEMP; $ChromeInstaller = "ChromeInstaller.exe"; (new-object System.Net.WebClient).DownloadFile('', "$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)

2. To get Google Chrome’s version number run the following query in powershell.

(Get-Item (Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\chrome.exe').'(Default)').VersionInfo

3.Thats all enjoy[/vc_column_text][/vc_column][/vc_row]

Post Comment