user "Machine Actions" to launch a KACE Script
the Machine actions do little for me since most of my hosts are in other locations and not on the same LAN as the kbox, I have a script that lets me select a PC and remote into it with Bomgar. thats great, but I would like to know if there is a way to run the Bomgar script (the script not the push client) and have that PC selected.
right now, when I find the PC that I want to loginto , I need to go to Scripting -> run now -> select the script, then select the PC, and then hit run.
I would like to be able from the inventory view, just hit the computer and have the option to run that script with the PC selected.?
Community Chosen Answer
If the script is on the machine already, you could run the script from the machine action.
All a machine action is really doing is the equivalent of lauching a command from the command line. The K1000 has the ability to use a variable in the command to pass IP or hostname information along.
So, say, you have run the script on the machine already, it will have a folder here in Win7: C:\ProgramData\Dell\KACE\kbots_cache\packages\kbots
You could use a command line prompt in the machine action to launch it by something like the following command:
C:\Program Files (x86)\Dell\KACE\runkbot x 0 (remove x86 if 32 bit)
Substitute the number of the script for the x. You can find this by hovering your mouse over the script in the listing. My example is hovering over the enable debug script, which is number 32, shown in the lower left hand side of the screenshot.
If it wasn't already on the machine, you could either run the script on all machines or use the file synchroniztion tool.
Here's an example of something similar: http://www.itninja.com/blog/view/machine-action-bluescreenview