Windows Tutorials

Install Google Chrome With PowerShell

In this tutorial you will learn how to install Google Chrome using PowerShell. By the end of this tutorial, you would have successfully deployed Google Chrome using PowerShell onto a Windows computer.

$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 }
{ rm "$LocalTempDir$ChromeInstaller" -ErrorAction SilentlyContinue -Verbose } } Until (!$ProcessesFound)

The PowerShell Script will do the following.

  1. Call to URL Google Chrome package.
  2. Download the package and place it in a temp folder.
  3. Silently install Google Chrome onto a Windows computer.

If you have any questions, feel free to reach out.

I hope this article was helpful, if you have any questions please feel free to contact me. If you would like to be notified of when I create a new post you can subscribe to my blog alert.

1 Comment

Leave a Comment

Stay Informed

Receive instant notifications when new content is released.