/build/static/layout/Breadcrumb_cap_w.png

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.?  

ideas?

 


0 Comments   [ + ] Show comments

Answers (2)

Posted by: jknox 11 years ago
Red Belt
3

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


Comments:
  • On second though, that would run it locally on your machine. I will have to do some research on this. - jknox 11 years ago
Posted by: jegolf 11 years ago
Red Belt
0

I use the Machine Action below to initiate a Bomgar session. We have the free hosted instance. Just started setting this up last week. You have to have your Bomgar Console open for it to work.

http://kace.bomgar.com/api/client_script.ns?type=rep&operation=generate&action=push_and_start_local&hostname=KACE_HOST_IP


Comments:
  • that works great, only if the PC's are on my local network, but i have a lot of PC's that are not here, and scattered.. I can just push them with the scrip, but not as convenent as a click and boom, - eatonjb 11 years ago
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ