/build/static/layout/Breadcrumb_cap_w.png

Can you create a script that encompasses two or more scripts in the K1000?

Short and sweet - I have three scripts that do different items that we've used independently of each other. Now I have a situation where we are performing all three scripts in a row. Rather than have to run all three individually in order, is there a way to chain the scripts into one script within KACE? Like a super-script?

1 Comment   [ + ] Show comment
  • You can create a master script that runs each of the other scripts in order. In the master script, add a task to Launch each program, one after the other.

    Directory: $(KACE_INSTALL)
    File: runkbot.exe
    Wait for completion
    Parameters: ## 0

    The ## in the parameters is the ID of the script you want to run. On the Scripts page, hover over the script and the ID will show in the URL in your status bar. - mragauthier 9 years ago

Answers (3)

Posted by: SMal.tmcc 9 years ago
Red Belt
1
you can try using pipe commands to chain them together.

http://www.itninja.com/blog/view/understanding-pipe-commands-to-enhance-your-scripts
Posted by: Jbr32 9 years ago
10th Degree Black Belt
0
We have accomplished this through the creation of smart labels.  It will, however still require one part (the kick off) to be manual.  

For example, we have a district that installs software X.  Then we have a smart label that detects X is installed.  This smart label is tied to a licensing script that runs on Y frequency.  Then you could have another smart label detect for something the script does and continue to repeat the process.  

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
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