Try this script to uninstall Malwarebytes: Credits go to cvucic from Malwarebytes Forms (post). I've modified it to use the Malwarebytes uninstaller rather than WMI which didn't work when I tested. Function List-Programs { [cmdletbinding()] [cmdletbinding()] param( [parameter(ValueFromPipeline=$true,ValueFromPipelineByPropertyName=$true)] [string[]]$ComputerName = $env:computername ) begin { $UninstallRegKey="SOFTWARE