SCCM - Packaging a Chrome Extension for distribution via PowerShell


You can install a Google Chrome Extension using PowerShell and SCCM, by just adding a simple registry entry.

Look up the Extension ID from the store. In this case we will be using the Windows 10 Accounts add-in that allows single sign on to work with Azure AD.

Then, we will package it into a PowerShell script that can be pushed out to machines.

$registryPath = "HKLM:\\Software\Policies\Google\Chrome\ExtensionInstallForcelist\"
$key = "1"
$currentRegPath = $registryPath + $key
New-Item -Path $currentRegPath -Force | out-Null
Set-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome\ExtensionInstallForcelist' -Name '1' -Value 'ppnbnpeolgkicgegkbkbjmhlideopiji;' -Type String

This can also be accomplished via group policy using the Google Chrome ADMX add-in.

Share on Google Plus

About Tom DeMeulenaere

Highly accomplished information technology professional with extensive knowledge in System Center Configuration Manager, Windows Server, SharePoint, and Office 365.
    Blogger Comment


Post a Comment

Note: Only a member of this blog may post a comment.