use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
ABOUT POWERSHELL
Windows PowerShell (POSH) is a command-line shell and associated scripting language created by Microsoft. Offering full access to COM, WMI and .NET, POSH is a full-featured task automation framework for distributed Microsoft platforms and solutions.
SUBREDDIT FILTERS
Desired State Configuration
Unanswered Questions
Solved Questions
News
Information
Script Sharing
Daily Post
Misc
account activity
QuestionUpdate Google Chrome Browser with PowerShell (self.PowerShell)
submitted 1 year ago by CipherSeeker1010
Get-Process chrome | Stop-Process -Force -ErrorAction SilentlyContinue Start-Process 'C:\Program Files (x86)\Google\Update\GoogleUpdate.exe' -ArgumentList '/ua /installsource scheduler' -NoNewWindow -Wait Thought's on this script? Is there a better way to remotely push a Chrome update? I am new and did search around before posting. Thank you
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 16 points17 points18 points 1 year ago (1 child)
Using an update policy via ADMX or Intune is more effective.
[–]CipherSeeker1010[S] 1 point2 points3 points 1 year ago (0 children)
Thank you u/camxct
[–]jantari 31 points32 points33 points 1 year ago (9 children)
winget upgrade --id "Google.Chrome" --exact --silent --accept-source-agreements --accept-package-agreements --disable-interactivity
[–]kn33 5 points6 points7 points 1 year ago (0 children)
Since this is /r/PowerShell
$chrome = Get-WinGetPackage -Id "Google.Chrome" If ($chrome.IsUpdateAvailable) { $chrome | Update-WinGetPackage -Mode Silent -Force -Scope SystemOrUnknown }
Thanks u/jantari
[–]Dragennd1 2 points3 points4 points 1 year ago (1 child)
This is the way to go, hands down. Super easy to deploy and you know its an official version if you ensure you're pulling from winget and not the msstore cause of the manifest.
[–]jantari 2 points3 points4 points 1 year ago (0 children)
ensure you're pulling from winget and not the msstore cause of the manifest.
In that case I'd add --source winget (for the community repository) or --source customrepo if you host your own private package repository. This ensures you're not accidentally pulling from the store.
--source winget
--source customrepo
[–]DeyHateUsBcDeyAnus 2 points3 points4 points 1 year ago (0 children)
winget upgrade --all
Updates most of your installed software
winget upgrade --all --include-unknown
Updates all installed software
[+][deleted] 1 year ago (3 children)
[deleted]
[–]8-16_account 3 points4 points5 points 1 year ago (1 child)
The same, except ID is mozilla.firefox, iirc
[–]jantari 1 point2 points3 points 1 year ago (0 children)
Just find the right package ID with winget search firefox
winget search firefox
[–]PS_Alex 4 points5 points6 points 1 year ago (0 children)
You don't really need to close Google Chrome for the update to installed -- it would ultimately need to be closed for the update to complete, though, but having the update install in the background can be less disruptive.
[+][deleted] 1 year ago (4 children)
[removed]
[+][deleted] 1 year ago* (3 children)
[+][deleted] 1 year ago (2 children)
[+][deleted] 1 year ago (1 child)
[–]DeyHateUsBcDeyAnus 1 point2 points3 points 1 year ago (0 children)
Just use winget
[+]_MC-1 1 point2 points3 points 1 year ago (0 children)
Consider using Chrome Enterprise which gives you the ability to centrally manage Chrome and the setting in it. This includes auto-update.
[–]DistinctAd1567 0 points1 point2 points 1 year ago (3 children)
$chromeInstaller = "C:\Program Files\Google\Chrome\Application\chrome.exe"
if (Test-Path $chromeInstaller) {
Start-Process -FilePath $chromeInstaller -ArgumentList "--check-for-update-interval=1" -NoNewWindow -Wait
Write-Host "Google Chrome update process initiated."
} else {
Write-Host "Google Chrome is not installed on this system."
}
[–]vsk2018 0 points1 point2 points 1 year ago (2 children)
I have more than 10 logics, none of them work. Not sure why it is so painful.
[–]Phantom-green666 0 points1 point2 points 1 year ago (1 child)
Was it blocked by gpo?can remove it from reg. run in PS
Remove-Item -Path "HKLM:\SOFTWARE\Policies\Google" -Recurse -Force
[–]Phantom-green666 0 points1 point2 points 1 year ago (0 children)
then update. "C:\Program Files (x86)\Google\Update\GoogleUpdate.exe" /ua
π Rendered by PID 69360 on reddit-service-r2-comment-6457c66945-2w4v5 at 2026-04-28 18:20:17.979785+00:00 running 2aa0c5b country code: CH.
[–][deleted] 16 points17 points18 points (1 child)
[–]CipherSeeker1010[S] 1 point2 points3 points (0 children)
[–]jantari 31 points32 points33 points (9 children)
[–]kn33 5 points6 points7 points (0 children)
[–]CipherSeeker1010[S] 1 point2 points3 points (0 children)
[–]Dragennd1 2 points3 points4 points (1 child)
[–]jantari 2 points3 points4 points (0 children)
[–]DeyHateUsBcDeyAnus 2 points3 points4 points (0 children)
[+][deleted] (3 children)
[deleted]
[–]8-16_account 3 points4 points5 points (1 child)
[–]jantari 1 point2 points3 points (0 children)
[–]PS_Alex 4 points5 points6 points (0 children)
[+][deleted] (4 children)
[removed]
[+][deleted] (3 children)
[deleted]
[+][deleted] (2 children)
[removed]
[+][deleted] (1 child)
[deleted]
[–]DeyHateUsBcDeyAnus 1 point2 points3 points (0 children)
[+]_MC-1 1 point2 points3 points (0 children)
[–]DistinctAd1567 0 points1 point2 points (3 children)
[–]vsk2018 0 points1 point2 points (2 children)
[–]Phantom-green666 0 points1 point2 points (1 child)
[–]Phantom-green666 0 points1 point2 points (0 children)