Providing Free and Editor Tested Software Downloads
< HOME | TUTORIALS | GEEK-CADE| WEB TOOLS | YOUTUBE | NEWSLETTER | DEALS! | FORUMS | >

MajorGeeks.com - Talk nerdy to me.

Software Categories

All In One Tweaks
Android
Antivirus & Malware
Appearance
Back Up
Browsers
CD\DVD\Blu-Ray
Covert Ops
Drivers
Drives (SSD, HDD, USB)
Games
Graphics & Photos
Internet Tools
Linux Distros
MajorGeeks Windows Tweaks
Multimedia
Networking
Office & Productivity
System Tools

Other news

· How To and Tutorials
· Life Hacks and Reviews
· Way Off Base
· MajorGeeks Deals
· News
· Off Base
· Reviews



IObit Black Friday Sale

spread the word

· YouTube
· Facebook
· Instagram
· Twitter
· Pintrest
· RSS/XML Feeds
· News Blur
· Yahoo
· Symbaloo

about

· Top Freeware Picks
· Malware Removal
· Geektionary
· Useful Links
· About Us
· Copyright
· Privacy
· Terms of Service
· How to Uninstall

top downloads

1. GS Auto Clicker
2. Macrium Reflect FREE Edition
3. Smart Defrag
4. MusicBee
5. Visual C++ Redistributable Runtimes AIO Repack
6. Sergei Strelec's WinPE
7. Format Factory
8. ImgBurn
9. Microsoft Visual C++ 2015-2022 Redistributable Package
10. K-Lite Mega Codec Pack
More >>

top reads

Star Disable These 5 Windows 11 Settings for Stronger Security Today

Star The Truth About Windows Fast Startup: Leave It On or Turn It Off?

Star How To Disable or Enable UserChoice Protection Driver (UCPD)

Star Microsoft Sites Not Loading? A Hidden IPv6 Setting Could Fix That in Seconds

Star What Is Smart App Control and Is It Worth Using?

Star The Windows Health And Monitoring Tools You Already Have

Star How To Fix "Network Discovery Is Turned Off" on Windows 11

Star How to Add Encrypting File System (EFS) to the Right-Click Context Menu

Star Memory Integrity Is Off? Here's How To Fix and Enable It

Star Avast Free AntiViirus vs Microsoft Defender: Which One Should You Use?


MajorGeeks.Com » Overview» Tutorials and Video Guides » How to Install Google Chrome With PowerShell

How to Install Google Chrome With PowerShell

By Timothy Tibbetts

on 06/28/2023

⚑ Black Friday Blowout! IObit Pro Up to 90% Saving PLUS $5 off! ⚑
Once-a-year pricing on speed, privacy, and protection. Don’t miss the best deal IObit drops all year!

Here's a fun trick for PowerShell geeks. By using a line of code we provide, you can install Google Chrome in minutes.

You might be wondering why, and our first response would be, "Why not?" But, if you have this code handy, many technicians who plan to install Google Chrome will appreciate saving the extra step of going to Google, downloading, and running the installer.

Video tutorial:



Open PowerShell as Administrator and copy and paste:


$LocalTempDir = $env:TEMP; $ChromeInstaller = "ChromeInstaller.exe"; (new-object System.Net.WebClient).DownloadFile('https://dl.google.com/chrome/install/375.126/chrome_installer.exe', "$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)


You will see Still running: ChromeInstaller numerous times.

When the code stops running, you should see the Google Chrome shortcut on your Desktop with the latest version installed.



Enjoy.

This code is included as part of MajorGeeks Windows Tweaks.

Similar:
The Ultimate List of Every Known Command Prompt and PowerShell Commands
How to Customize Fonts, Colors, Window Size and More With Powershell or Command Prompt
How to View, Save, and Clear Your PowerShell and Command Prompt History
How to Add 'Open PowerShell Window Here' as Administrator Context Menu
How to Disable the Command Prompt in Windows 10

comments powered by Disqus




© 2000-2026 MajorGeeks.com
Powered by Contentteller® Business Edition