Code:
For Each $objItem In GetObject("winmgmts:\\.\root\CIMV2").ExecQuery("Select Vendor, Version, Name, LocalPackage from Win32_Product",,48)
	If InSTR($objItem.Vendor, "symantec")
		Shell "%comspec% /c msiexec /uninstall " + $objItem.LocalPackage + " /qn REMOVE=ALL RebootYesNo=No Reboot=ReallySuppress"
	EndIf
Next


I've been playing with this little snippet of code to uninstall Symantec across my network, but I can't get it to run properly. I pulled this snippet from:
http://www.kixtart.org/forums/ubbthreads...c=0&Search=true

If I add a "? $objItem.Vendor" before the EndIf, my output displays nothing leading me to believe that it's not even running the WMI query.

Any ideas on what I might be doing wrong, or a better way to do this?

Thanks,