WMIC script with KACE 6.3
Hi there,
I would like to know if it is possible and how to use WMIC with KACE 6.3 ?
For further information, i would like to use this command on some computer: wmic.exe product where "name like ‘Java%%'" call uninstall /nointeractive
The line looks like: Launch "SYS\cmd.exe" using parameters wmic.exe product where "name like ‘Java%%'" call uninstall /nointeractive
This will uninstall every version of Java installed on the target computer.
Also, this command run fine with an admin command without using KACE.
Thanks
1 Comment
[ + ] Show comment
-
Please remove your duplicate post on this topic. - dunnpy 9 years ago
Answers (3)
Answer Summary:
Please log in to answer
Posted by:
SMal.tmcc
9 years ago
Top Answer
this is from http://www.itninja.com/question/script-work-on-some-pc-but-not-others
I have switched to using wmic to uninstall old java in my search and destroy java script.
Just make sure to check "wait for completion" for each step.
I have switched to using wmic to uninstall old java in my search and destroy java script.
Just make sure to check "wait for completion" for each step.
$(KACE_SYS_DIR)
cmd
/c wmic product where "name like 'Java 7 Update%%'" call uninstall /nointeractive
Posted by:
Olendis
9 years ago