Browser Extension

PowerShell script to silently remove a browser extension by ID.

Overview

Dev Insight: This script was created in tandem with the browser extension installation script.

This script removes a Microsoft Edge or Google Chrome extension for all user / browser profiles on a device.

Prerequisites: This script has no prerequisites.


Script

Note: This script will throw a warning if force install extension policies are detected. The associated registry entries created by those policies will be removed by the script but may be automatically recreated by group policy / Intune. The warning is intended to prompt the technician to check group policy / Intune.

Examples

Example 1

.\RemoveExt.ps1 -ID 'hokifickgkhplphjiodbggjmoafhignh' 

This example removes the Microsoft Editor: Spelling & Grammar Checker extension in Microsoft Edge for all users and browser profiles.


Parameters

Required Parameters

-ID

The ID of the browser extension to be removed.

Last updated