I would like to save my KACE scripts to a repository like SVN. What is the best way to get a listing of a script? My current technique is manually intensive:

  • edit the script in XML,
  • copy the XML and paste it into a txt file,
  • go back to the script and grab any script .bat content,
  • paste that at the end of the txt file.

Thanks.

1 Comment   [ + ] Show Comment

Comments

  • Just curious, why are you doing this?
Please log in to comment

Answers

0

To grab information about scripts you can pull from the KBOTS table:

SELECT * FROM ORG1.KBOT;

If you are using scripts and not kscripts then the text of them can be pulled in a report:

SELECT * FROM ORG1.KBOT_SHELL_SCRIPT;

The information for kscripts is a little more difficult to parse but that is stored in another table:

SELECT * FROM ORG1.KBOT_VERIFY_STEPS;

Using a combination of those tables you could possibly build a report that showed all of the information you're looking to catalog.

Answered 04/18/2014 by: chucksteel
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja

Share