Return to section contents
To easily test formatting of your shell command, the Run a UNIX/Linux Shell Command task template can be used to create and test a shell command in the Operations Console. This template is available in the Operations Console’s Authoring Pane, under Management Pack Objects, Tasks, Create a New Task.
Shell scripts and PowerShell scripts contained within Management Packs should be contained within CDATA blocks so that characters that are invalid in XML (<,>, and &) are correctly handled. For example:
<
ShellScript
>
<![CDATA[
echo $1
]]>
</