Unregister-FirefoxExtension
Description
Removes the target extension from Mozilla Firefox with optional installation blocking.
Requirements
The extension name must be provided.
Usage
- Gets the provided extension information.
- Parses it to JSON format.
- Applies the change to the Firefox file.
.\Unregister-FirefoxExtension.ps1 -ExtensionName "ublock-origin" -Mandate
This command will remove uBlock Origin from the policy, uninstall it, and prevent its reinstallation.
Parameters
| Parameter | Alias | Required | Default | Type | Description |
|---|---|---|---|---|---|
ExtensionName | True | String | The name of the extension you wish to remove. | ||
Mandate | False | Bool | Blocks the reinstallation of the extension. |
Output
The output will be logged in:
.\Unregister-FirefoxExtension-log.txt