WMIC commands not working in K1000 Scripting?
I'm trying to uninstall some old app versions via WMIC name calls, but for whatever reason I simply cannot get it to run in K1000 scripting.
Currently I'm running the following Online Script as System:
Launch “$(KACE_SYS_DIR)\cmd.exe” with params “/c wmic product where ”name='Blue Jeans'“ call uninstall /nointeractive”.
If I run the parameters locally it works every time, but through KACE, scripting reports complete but the program never uninstalls. Anybody know what's going on?
I've tried running offline, online as a local admin instead of System, and I've tried running as a batch file instead of launching CMD with parameters, but I just can't get it to work via the K1000.
I'm trying to do it this way to avoid having to create a batch file with several dozen uninstall strings listed in a row.