The zac utility provides a command line management interface that lets you perform tasks available in the ZENworks Agent.
The utility is installed on all Windows managed devices in the following location:
%ZENWORKS_HOME%\bin
where %ZENSERVER_HOME% represents the ZENworks installation path. The default path is c:\program files\microfocus\zenworks\bin on a 32-bit Windows device and c:\program files (x86)\microfocus\zenworks\bin on a 64-bit Windows device.
The zac utility uses the following basic syntax:
zac command options
For example, to launch a bundle on a device, you use the following command:
zac bundle-launch "bundle 1"
where bundle-launch is the command and bundle 1 is the command option. In this example, the option is the display name of the bundle to be launched. Enclosing quotation marks are required only if the bundle display name includes spaces.
For example, to initiate an inventory scan on a device, you use the following command:
zac inv scannow
where inv is the command and scannow is the command option.
The best way to understand the commands is to use the online help or see zac for Windows(1)
in the ZENworks Command Line Utilities Reference.
To use the online help:
On the managed device, enter one of the following commands at a command prompt.
Command |
Description |
---|---|
zac --help |
Displays a complete list of commands. |
zac command --help |
Displays detailed help for a command. |