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 the 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

ParameterAliasRequiredDefaultTypeDescription
ExtensionIDTrueString[]Holds the URL ID values for the desired extensions to install.
TargetFalseDefaults 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 file:

.\\Register-ChromiumExtension-log.txt