Don't use Win32_Product, it has terrible side effects:

-          
http://myitforum.com/cs2/blogs/gramsey/archive/2011/01/25/win32-product-is-evil.aspx

-          http://csi-windows.com/toolkit/win32product-replacement

J

From: [email protected] [mailto:[email protected]] On 
Behalf Of Timothy Ransom
Sent: Tuesday, February 24, 2015 1:43 PM
To: [email protected]
Subject: [mssms] java uninstall with wmic

Hi,

I finally have ok to upgrade a group of 2k PCs to latest Java but many have 
multiple versions.

Has anyone used wmic from ConfigMgr to uninstall Java?

No issues using this command locally to remove multiple versions.
wmic product where "name like 'Java%'" call uninstall

Thanks,
Tim

**********************************************************************************************
GDOL CONFIDENTIALITY NOTICE: This transmission may contain confidential 
information protected by state or federal law. The information is intended only 
for use consistent with the state business discussed in this transmission. If 
you are not the intended recipient, you are hereby notified that any 
disclosure, copying, distribution, or the taking of any action based on the 
contents is strictly prohibited. If you have received this transmission in 
error, please delete this email and notify the sender immediately. Your 
cooperation is appreciated.
**********************************************************************************************





Reply via email to