Google Chrome - Extension - Remove
Summary
This script is used to remove the enforcement of the installation of an extension or list of extensions in Google Chrome.
Sample Run

Dependencies
- Windows 10 1703+
- Google Chrome 86+
Variables
| Variable Name | Description |
|---|---|
| ProjectName | The name of the project; in this case, it would be Unregister-EdgeExtension |
| Parameters | This will take the ExtensionIDs. |
| BaseURL | The base URL here will be https://file.provaltech.com/repo |
| WorkingDirectory | C:/ProgramData/provaltech/script/@ProjectName@ |
| PS1URL | @BaseURL@/script/@ProjectName@.ps1 |
| PS1Path | @WorkingDirectory@/@ProjectName@.ps1 |
| PS1TempPath | @WorkingDirectory@/@ProjectName@-temp.ps1 |
| PS1Log | @WorkingDirectory@/@ProjectName@-log.txt |
| PS1DataLog | @WorkingDirectory@/@ProjectName@-data.txt |
| PS1ErrorLog | @WorkingDirectory@/@ProjectName@-errors.txt |
| LogContent | @PS1Log@ |
| DataLogContent | @PS1DataLog@ |
User Parameters
| Name | Example | Required | Description |
|---|---|---|---|
| ExtensionIDs | cjpalhdlnbpafiamejdnhcphjbkeiagm | True | The Extension ID or list of Extension IDs to remove from managed status. |
Output
- Script log
./Unregister-ChromeExtension-log.txt