Skip to main content

Register-FirefoxExtension

Description​

Adds an extension to the Firefox browser.

Requirements​

The name of the extension must be provided.

Usage​

  1. Gets the provided extension name information.
  2. Parses it to JSON.
  3. Applies the values to the Firefox extensions file.
.\Register-FirefoxExtension.ps1 -ExtensionName "ublock-origin" -Mandate

This command installs the uBlock Origin extension to Firefox and removes the rights to remove it.

Parameters​

ParameterAliasRequiredDefaultTypeDescription
ExtensionNameTrueStringThe name of the extension you wish to install.
MandateFalseBoolRemoves the right to remove the extension.

Output​

The output log can be found at:

.\Register-FirefoxExtension-log.txt

Changelog​

2025-04-10​

  • Initial version of the document