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
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!
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!
I think they were installed with the .exe version, not MSI. So that's likely why I'm having trouble.