Can someone help with a script to uninstall LMI? There's one on the automation exchange but it does the uninstall by a specific GUID. For me, almost every computer has a different GUID for LMI.
wmic product where name ="<PROGRAM NAME HERE>" call uninstall /nointeractive
$app = Get-WmiObject -Class Win32_Product -Filter "Name = '<PROGRAM NAME HERE>'"