Page tree
Skip to end of metadata
Go to start of metadata

The BMC Middleware Automation product has a command-line interface (CLI) that you can use to automate product operations. The CLI is based on the following scripts (.bat on Microsoft Windows and .sh on Linux or UNIX) that you execute from the cli subdirectory of your BMC Middleware Automation installation:




The main CLI script, which you can use for most BMC Middleware Automation operations. For example:

  • Create Server Profiles
  • Test server connections
  • Retrieve server topology
  • Create Snapshots
  • Tokenize Snapshots or Configurations
  • Compare two Snapshots or Configurations
  • Synchronize token sets between Server Profiles
  • Pull token values from a Configuration to a Server Profile
  • Install or preview the installation of Configurations
  • Encode text that you want to encrypt in the Configurations and Server Profiles that you reference in your CLI commands


Combine multiple Configurations into one Configuration.

migrationToolMigrate or clone a WebSphere Configuration, so that you can install the generated Configuration on a target application server of a different WebSphere version or in a different topology.


Create HTML or PDF versions of product reports for viewing outside of the product user interface.


Upgrade old Configurations and Snapshots and old tokens and filters within Server Profiles to the newest schema (after upgrading to a newer version of BMC Middleware Automation). For more information, see Upgrading.


Sort Configuration contents automatically to avoid schema violations under manual configuration.


For the management of the IBM WebSphere Portal server, you can choose between the following two options:

  • Use a separate command-line interface based on the runPortal script. For more information about the Portal CLI, see Using the Portal CLI.
  • As of BMC Middleware Automation version 8.5, the runDeliver script includes all runPortal functionalities, and you can run the runDeliver script with the -portal option instead of using the runPortal script.

The following topics provide more information about the CLI: