/build/static/layout/Breadcrumb_cap_w.png

how to get a listing of a script?

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
  • Just curious, why are you doing this? - Jbr32 10 years ago

Answers (1)

Posted by: chucksteel 10 years ago
Red Belt
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.

 
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