Skip to content

Upgrade Google Chrome using Microsoft Intune's "Remediations". It leverages Winget.exe and GoogleUpdate.exe to ensure Google Chrome is up-to-date ASAP.

Notifications You must be signed in to change notification settings

jmanuelng/MEM_UpdateChrome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

MEM_UpdateChrome

Keep Google Chrome Up-to-Date in Your Client's Environment using Microsoft Intune's Proactive Remediation

Can be used if you're in a hurry to upgrade Google Chrome on an environment. I've used it in scenarios where Chrome continues to be flagged as a top recommendation in Microsoft Defender for Endpoint, despite having update policies in place. This script helps address this issue. It leverages Winget and GoogleUpdate.exe to ensure Google Chrome installation is always up to date. This script is to be used as Proactive Remediation via Microsoft Intune.

Key Features

  1. Winget Integration: The script takes advantage of the Windows Package Manager, Winget, to fetch the latest version of Google Chrome and update it seamlessly (if possible).
  2. GoogleUpdate.exe Fallback: If Winget is not present or fails to update the application, the script automatically switches to using GoogleUpdate.exe to ensure a successful update.
  3. Version Comparison: The script intelligently compares the installed version of Google Chrome with the latest version available, updating only if necessary.
  4. Error Handling: Comprehensive error handling is built into the script to provide informative feedback and appropriate exit codes.

How to Use the Script with Microsoft Intune

  1. In the Microsoft Endpoint Manager admin center, create a new Proactive Remediation script.
  2. Upload Detect_ChromeUpdate.ps1 file as the detection script and Fix_ChromeUpdate.ps1.ps1 as remediation script.
  3. Configure the script settings, such as the script execution schedule.
  4. Assign the Proactive Remediation script to the appropriate device groups.
  5. Monitor the script execution status and results in the Microsoft Endpoint Manager admin center.

Managing Google Chrome updates in a client's environment can be a headache, this PowerShell can help. Give it a try and let me know your thoughts, comments and/or feedback!

About

Upgrade Google Chrome using Microsoft Intune's "Remediations". It leverages Winget.exe and GoogleUpdate.exe to ensure Google Chrome is up-to-date ASAP.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published