Custom inventory rule for All Java
Needing to remove Oracle Java from our environment. Does anyone have a custom inventory rule to identify machines with any version of Oracle Java installed on Win7/8/10 endpoints. And would also love to see any scripts that may remove said Java as well.
Thanks!
0 Comments
[ + ] Show comments
Answers (2)
Please log in to answer
Posted by:
Nico_K
4 years ago
The query is not tested but the CIR should be something like:
ShellCommandTextReturn(cmd /c wmic product where "Name like 'Java%%'" get name,version)to uninstall you can run a script wit the following:
wmic product where "Name like 'Java%%'" call uninstall
Posted by:
jlalla
4 years ago