{"id":4246,"date":"2021-11-10T09:39:14","date_gmt":"2021-11-10T09:39:14","guid":{"rendered":"https:\/\/www.jameseduard.com\/?p=4246"},"modified":"2021-11-10T09:39:14","modified_gmt":"2021-11-10T09:39:14","slug":"how-to-install-chrome-in-windows-server-using-powershell","status":"publish","type":"post","link":"https:\/\/www.jameseduard.com\/?p=4246","title":{"rendered":"How to Install Chrome in Windows Server using Powershell"},"content":{"rendered":"<p>[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\u00a0 to browse through the internet which you need to allow one by one the connection.<\/p>\n<p>To install google chrome you can follow these easy steps and its easier to work with, hassle free.<\/p>\n<p>1.Open search or go to start and search for powershell and run with admin privilege&#8217;s (run as administrator)<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-4247\" src=\"http:\/\/www.jameseduard.com\/wp-content\/uploads\/2021\/11\/pwshadmin.jpg\" alt=\"\" width=\"1905\" height=\"912\" \/><br \/>\n2. Paste the following code in powershell<\/p>\n<p>[php light=&#8221;true&#8221;]$LocalTempDir = $env:TEMP; $ChromeInstaller = &quot;ChromeInstaller.exe&quot;; (new-object System.Net.WebClient).DownloadFile(&#8216;http:\/\/dl.google.com\/chrome\/install\/375.126\/chrome_installer.exe&#8217;, &quot;$LocalTempDir\\$ChromeInstaller&quot;); &amp; &quot;$LocalTempDir\\$ChromeInstaller&quot; \/silent \/install; $Process2Monitor = &quot;ChromeInstaller&quot;; Do { $ProcessesFound = Get-Process | ?{$Process2Monitor -contains $_.Name} | Select-Object -ExpandProperty Name; If ($ProcessesFound) { &quot;Still running: $($ProcessesFound -join &#8216;, &#8216;)&quot; | Write-Host; Start-Sleep -Seconds 2 } else { rm &quot;$LocalTempDir\\$ChromeInstaller&quot; -ErrorAction SilentlyContinue -Verbose } } Until (!$ProcessesFound)[\/php]<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-4248\" src=\"http:\/\/www.jameseduard.com\/wp-content\/uploads\/2021\/11\/vmserverchrome.jpg\" alt=\"\" width=\"1922\" height=\"878\" \/><br \/>\n2. To get Google Chrome&#8217;s version number run the following query in powershell.<\/p>\n<p>[php light=&#8221;true&#8221;](Get-Item (Get-ItemProperty &#8216;HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\App Paths\\chrome.exe&#8217;).'(Default)&#8217;).VersionInfo[\/php]<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-4249\" src=\"http:\/\/www.jameseduard.com\/wp-content\/uploads\/2021\/11\/chromeversion.jpg\" alt=\"\" width=\"1082\" height=\"260\" \/><\/p>\n<p>3.Thats all enjoy[\/vc_column_text][\/vc_column][\/vc_row]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[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\u00a0 to browse through the internet which you need to allow one by one the connection. To install google chrome<\/p>\n","protected":false},"author":1,"featured_media":4248,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[47,63,831],"tags":[87,828,102,829,830,832],"class_list":["post-4246","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-how-tos","category-windows","category-windows-server","tag-automation","tag-chrome","tag-powershell","tag-powershell-script","tag-pwsh","tag-windows-server"],"_links":{"self":[{"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=\/wp\/v2\/posts\/4246","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4246"}],"version-history":[{"count":0,"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=\/wp\/v2\/posts\/4246\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4246"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4246"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4246"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}