That will uninstall all Java, even the JDK. ConfigMgr to see the patterns of Java names in your environment. I was able to get away with this:
Name Like 'Java _ Update%' On Tue, Feb 24, 2015 at 1:42 PM, Timothy Ransom <[email protected]> wrote: > 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. > > ********************************************************************************************** > >

