Cannot Remove a Application from Computer

Copper Contributor

Hello, 

 

I am having a troubling time with this and was wondering if you guys may be able to assist. We are trying to remove 'McAfee LiveSafe' and 'Webadvisior by McAfee' from computers. These programs came pre-installed onto the computers that we received from CDW. 

 

I have tried the following: 

Uninstall-Package -Name "McAfee LiveSafe"

I have also tried:

$app = Get-WmiObject -Class Win32_Product | Where-Object { 
    $_.Name -match "McAfee LiveSafe" 
}
$app.Uninstall()

The image is what I get when I run:

get-package

 

I do not run into any errors. It says that it runs but nothing gets deleted.

 

Any help would be appreciated. 

 

Cody

 

2 Replies
Perhaps this is an option for you? https://christianlehrer.com/?p=359
Any update? Did it work?