Execute/pass variables to a KACE script externally?
We are interested in using a KACE script to open a message window for all agent-installed systems. We've created the script easily enough. However, we would like to execute this script remotely, without having to log into the KACE appliance to send it. Does anyone know if this is possible? Is there an API that I can use to hook into the KACE script and pass it the message we want to broadcast, and then execute it? Calling it from a batch or shell script on another system, perhaps.
Community Chosen Answer
I may be misunderstanding your need, but you can call specific scripts from the client side. To run a specific script from a client computer you can use runkbot:
C:\Program Files\Dell\KACE\runkbot.exe script_ID_# 0
"script_ID_#" should be replaced with the ID number of the script as it is listed in the K1 admin gui. To find the ID number, hover over the script name and view the link path (ex: http://k1000/adminui/kbot.php?ID=13). So to force script 13 to run on a client machine my command would be:
runkbot 13 0
0 here is the version of the script. Since there is never a version 0 this will always run the latest version.
Of course you will still have to use a mechanism to execute this command from each client so it might be easier to do it via the WebUI unless you already have something like psexec in place.