shedwhe.blogg.se

Chrome force refresh mac
Chrome force refresh mac







chrome force refresh mac

I am going to start posting more scripts I have used in Jamf to my GitHub, so check it out! Google Chrome is now up to date on all of our Macs :)

chrome force refresh mac

The Policy simply runs the script below, on all Macs in scope. Now all we need to do is create a Policy targeting the Smart Group to update Chrome! Next, I made a Smart Group targeting all Macs where Chrome Version = Old (this may take some time to populate initally, as the computers need to check in and do an Inventory Update first). If the two versions are the same, it updates the EA with ‘Latest’, if they do not match it outputs ‘Old’. It then inspects the Google Chrome.app/Contents/ist on the Mac the script is running on, and gets the version number. It works by checking a site where Google keeps all of the Chrome version history, finds the latest, stable, macOS version number and saves it to a variable. So I created an Extension Attribute called ‘Chrome Version’. Every time Google update Chrome, we would need to update that version number (which is fairly often) and it’s something my team and I would rather not have to do!Īs this method does work for us, I thought I’d build on it, and automate the version part. Then we create a Smart Group in Jamf Pro that targets all Macs that have Google Chrome installed where the version is not like insert latest version number. It downloads and installs the latest Chrome DMG from Google - they have a hidden static URL that always provides the current version. The method we started using at first worked, but needed some manual intervention (See the script here). Yes, Chrome should automatically update itself, but users disable automatic updates or just never restart their browser, so there are still some older versions of Chrome out there.

chrome force refresh mac

So I wanted to find a way to automate it. Updating apps in Jamf Pro isn’t the easiest thing to do (at least until version 10 is released, with Patch Management built in!). It will keep your InfoSec team happy too! It’s always good to be up-to-date, especially with vulnerabilities being publicised on a regular basis, and people like the CIA and NSA hacking everything. Lewis Lebentz Code, tech and cool stuff Twitter GitHub LinkedIn Automatically update Chrome via Jamf Pro Automatically update Chrome via Jamf Pro - Lewis Lebentz









Chrome force refresh mac