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.
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.