Forums on Intune, SCCM, and Windows 11

Welcome to the forums. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your topics and posts, as well as connect with other members through your own private inbox!

SOLVED Upgrade Google Chrome using PowerShell Script

  • Thread starter Thread starter HSD
  • Start date Start date
  • Replies Replies 1
  • Views Views 10K

HSD

New Member
Messages
2
Reaction score
0
Points
1
I would like to upgrade google chrome on multiple devices and need a powershell script
 
You can use the following PowerShell script to upgrade Google Chrome to the latest version:

Code:
# Define the path to Google Chrome's update executable
$chromeExePath = "$Env:ProgramFiles(x86)\Google\Update\GoogleUpdate.exe"

# Check if the Google Chrome update executable exists
if (Test-Path $chromeExePath) {
    # Run the update executable silently
    & $chromeExePath /silent /client "Google Chrome"

    Write-Host "Google Chrome update initiated successfully."
} else {
    Write-Host "Google Chrome update executable not found at $chromeExePath"
}

Note: The above script is not tested. You'll have to test this script on pilot devices to determine if it works.
 

Forum statistics

Threads
7,133
Messages
27,858
Members
18,151
Latest member
TonyGTR
Back
Top