Installing Google Chrome via PowerShell

by Jul 23, 2019

To download and install the Google Chrome browser, simply combine a couple of generic PowerShell commands:

$Installer = "$env:temp\chrome_installer.exe"
$url = 'http://dl.google.com/chrome/install/375.126/chrome_installer.exe'
Invoke-WebRequest -Uri $url -OutFile $Installer -UseBasicParsing
Start-Process -FilePath $Installer -Args '/silent /install' -Wait
Remove-Item -Path $Installer

Twitter This Tip! ReTweet this Tip!