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
Answers (3)
Please log in to answer
Posted by:
SMal.tmcc
9 years ago
you can try using pipe commands to chain them together.
http://www.itninja.com/blog/view/understanding-pipe-commands-to-enhance-your-scripts
http://www.itninja.com/blog/view/understanding-pipe-commands-to-enhance-your-scripts
Posted by:
Jbr32
9 years ago
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.
Posted by:
dugullett
9 years ago
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