How to install Chrome from command line

This is not something I developed, I just don't remember the place I found it (Author give me a shout, I will make sure the World will know you ;) ). I just want to share this useful snippet:

$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)

Hope it helps! Cheers!

In short, this is about:

Start discussion:
Related articles:
99 google merchant snippet preview
Quick xml (jade) for building Google merchant cards. ... more
about 1 year#merchant #google