How can I use PowerShell to uninstall Chrome or Firefox from my PC?

0
0
Asked By CuriousCat1123 On

I'm trying to uninstall Chrome and Firefox from my computers using PowerShell, but I've hit a wall. I've tried various scripts, but none of them have worked so far. Does anyone have a reliable method or script that can do this? Thanks in advance!

2 Answers

Answered By ScriptMaster45 On

First, it's helpful to know how Chrome and Firefox were installed. If they were deployed using MSI, you can use `msiexec` in uninstall mode with the GUID to remove them. It’s pretty straightforward if that's the case!

CuriousCat1123 -

I think they were installed with the .exe version, not MSI. So that's likely why I'm having trouble.

Answered By TechWizard88 On

You can try using `winget uninstall` for a simple solution. For Chrome, specifically, the command would be `winget remove Google.Chrome`. It usually works pretty well for these types of applications!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.