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.
- 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).
- 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.
- Version Comparison: The script intelligently compares the installed version of Google Chrome with the latest version available, updating only if necessary.
- Error Handling: Comprehensive error handling is built into the script to provide informative feedback and appropriate exit codes.
- In the Microsoft Endpoint Manager admin center, create a new Proactive Remediation script.
- Upload Detect_ChromeUpdate.ps1 file as the detection script and Fix_ChromeUpdate.ps1.ps1 as remediation script.
- Configure the script settings, such as the script execution schedule.
- Assign the Proactive Remediation script to the appropriate device groups.
- 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!