For the complete documentation index, see llms.txt. This page is also available as Markdown.
Browser Extension
PowerShell script to silently install a browser extension by ID.
Overview
Dev Insight: While group policy and Intune configuration profiles are the ideal way to distribute browser extensions, I needed a way to easily distribute extensions in environments without Active Directory / Intune.
This script creates the necessary registry entries for Microsoft Edge or Google Chrome to install the provided extension globally for all users of a device.
By default, the extension installation is not "forced". Each user will be able to disable or uninstall the extension for their browser profile. To prevent this, the -Force parameter can be used.
This example installs the Microsoft Editor: Spelling & Grammar Checker extension in Microsoft Edge for all users. When installed, users will be prompted to enable the extension.
Example 2
This example force installs the Google Docs Offline extension in Google Chrome for all users. Users will not be able to disable or uninstall the extension.
Parameters
Required Parameters
-ID
The ID of the browser extension to be installed.
-Chrome
Used to specify that the extension ID provided is a Google Chrome browser extension. Either this or the -Edge parameter must be used.
-Edge
Used to specify that the extension ID provided is a Microsoft Edge browser extension. Either this or the -Chrome parameter must be used.
Optional Parameters
-Force
When used, the provided extension will be added to the force installed extension list for the designated browser. Users will not be able to disable or uninstall the extension.