Skip to main content

Register-ChromiumExtension

Description

Adds one or more extensions to popular Chromium-based browsers.

Requirements

The Extension URL ID must be obtained from Chrome Web Store.

Usage

  1. Verifies and adds an MDM policy if one doesn't exist.
  2. Determines if the app is currently being blocked and removes it if present.
  3. Adds the extension to the target browser(s) force list.
.\Register-ChromeExtension.ps1 -ExtensionID 'kgjfgplpablkjnlkjmjdecgdpfankdle', 'cjpalhdlnbpafiamejdnhcphjbkeiagm'

This command will add uBlock Origin and Zoom Meetings to the registered extensions in the force list for all popular Chromium-based browsers.

.\Register-ChromeExtension.ps1 -Target 'Chrome' -ExtensionID 'kgjfgplpablkjnlkjmjdecgdpfankdle', 'cjpalhdlnbpafiamejdnhcphjbkeiagm'

This command will add uBlock Origin and Zoom Meetings to the registered extensions in the force list for just the Chrome browser.

Parameters

ParameterValidateSetRequiredDefaultTypeDescription
ExtensionIDTrueString[]Holds the URL ID values for the desired extensions to install.
TargetChromium, Chrome, Edge, Brave, VivaldiFalseDefaults to applying settings to all available targetsString[]Designates the target browser to add the extension to.

Output

The output will be logged in the following files:

  • .\Register-ChromiumExtension-log.txt
  • .\Register-ChromiumExtension-error.txt

Changelog

2026-04-02

  • Resolved an issue that prevented multiple extensions from being installed simultaneously
  • Applied script formatting improvements for consistency and readability

2025-04-10

  • Initial version of the document