Skip to main content

Unregister-ChromiumExtension

Description​

Removes one or more extension(s) from popular Chromium-based browsers and blocks the extensions.

Requirements​

An extension ID must be provided for the desired extension.

Usage​

  1. Ensures the block policy exists and creates them if they don't.
  2. Adds the extension to the block policy.
  3. Removes the extension from the corresponding target allow policy.
.\Unregister-ChromeExtension.ps1 -Target 'Chrome','Edge' -ExtensionID 'cjpalhdlnbpafiamejdnhcphjbkeiagm'

This will remove uBlock Origin from the registered extensions and block the extension for the Google Chrome and Microsoft Edge browsers.

.\Unregister-ChromeExtension.ps1 -ExtensionID 'kgjfgplpablkjnlkjmjdecgdpfankdle', 'cjpalhdlnbpafiamejdnhcphjbkeiagm'

This will remove uBlock Origin and Zoom Meetings from the registered extensions and block the extensions for all popular Chromium-based browsers.

Parameters​

ParameterAliasRequiredDefaultTypeDescription
ExtensionIDTrueStringHolds the extension ID for the target extension that you wish to remove.
TargetFalseDefaults to applying settings to all available targetsString[]Designates the target browser to add the extension to.

Output​

.\Unregister-ChromiumExtension-log.txt

Changelog​

2025-04-10​

  • Initial version of the document