Has anyone tried uninstalling Malwarebytes from powershell? Per MB support the proper way to uninstall is through Add Remove Programs so I figured this would work:
$app = Get-WmiObject -Class Win32_Product | Where-Object { $_.Name -match "Malwarebytes Endpoint Agent" } $app.Uninstall()
This kills the process and the app is no longer listed in the Win32_Product list however when you open Add Remove Programs the app is still listed, even after reboot. At this point you could click uninstall and it clean up with no issue but I need to automate this. While this is sitting in Add Remove Programs you are unable to reinstall Malwarebytes.
Any ideas? MB support has to take the issue back to their dev’s but it didn’t sound like it was going to happen anytime soon.
submitted by /u/gaz2600
[link] [comments]
The post Uninstall Malwarebytes appeared first on How to Code .NET.