I'm in the process of translating our batch files (and Novell ZENworks applications) into K1000 MIs and scripts. Which led me to see there is one small advantage a batch file (as an Online Shell script) has over the equivalent Kscript: Comments! (The REM command, or its :: equivalent.)

So here's a wish for a few feature: Give me a new Script Task Step, one that can occur in any section (Verify/Success/Remediation/OnRemedSuccess/OnRemedFailure) that does nothing, just gives me a line in which to put a comment.

I need the comment to be visible to the admin looking at the Kscript; it must not display anything to the user, and I don't want it to add any messages to any logs.

Pretty simple, right? Sande
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Hi Sande,

For feature requests you should file a support ticket.

A few possible workarounds.

1) Use the Note: field on the Script: Edit Detail page.

2) Have the script just launch your batch file that can contain comments.

Launch a program

Directory: $(KACE_DEPENDENCY_DIR)
File: yourbatchfile.bat
Wait for startup is checked
Parmeters: Blank
Answered 06/05/2010 by: KevinG
Purple Belt

Please log in to comment
0
I agree that line-by-line comments would be more intuitive, but for the time being there are two fields you can use to list what your script is doing: Notes and Description.
Answered 06/07/2010 by: airwolf
Tenth Degree Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity