SCCM | Intune | Windows 365 | Windows 11 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 own topics and posts, as well as connect with other members. Please post your questions in the correct category.

SOLVED Upgrade Google Chrome using PowerShell Script

HSD

New Member
Messages
2
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.
 
Back
Top