Parameters of a "Run Script" action are not returned properly when a "Path to Script Engine" is specified

  • 7012882
  • 17-Jul-2013
  • 17-Jul-2013

Environment

Novell ZENworks Configuration Management 11.2 Bundles

Situation

Bundles with a "Run Script" action with specified parameters may fail if a "Path to Script Engine" is specified.

Example:

A Bundle can have the following settings in a "Run Script" action:

Script to run: 'Specify a file on managed device
Script File Name: C:\Windows\Temp\test.cmd
Script Parameters: param1 param2 param3
Path to Script Engine: C:\Windows\System32\cmd.exe

The test.cmd file contains the following:

echo TestStart %1 %2 %3 TestEnd > c:\windows\temp\output.txt


When the Bundle is run, the following results are returned:

TestStart    TestEnd

The results should be:

TestStart param1 param2 param3 TestEnd

Resolution

This is fixed in version 11.2.2 - see KB 7010757 "ZENworks Configuration Management 11.2.2 - update information and list of fixes" which can be found at https://support.microfocus.com/kb/doc.php?id=7010757