Important

   

This space contains documentation for TrueSight Server Automation 8.9.03 and the later service packs for 8.9. For earlier releases, see BMC Server Automation 8.9.

Using BLCLI commands within an NSH script

Within an NSH script, you can use:

  • BLCLI commands in the format <Name Space> <Command Name> [Argument1] ... [ArgumentN].
    Example: Server addServer myNewServer
    BLCLI commands are described in the reference sections of this help system.
  • Embedded performance commands
    The BLCLI performance commands are available only inside an NSH shell or NSH script. These commands run faster than the same commands run by using the normal BLCLI.
    Performance commands are described in detail in NSH performance commands. Some example performance commands are:
    • blcli_setoption
    • blcli_connect
    • blcli_execute
    • blcli_storeenv
    • blcli_storelocal

  • NSH commands
    For the most part, these are file manipulation utilities designed to look and feel like their UNIX counterparts (grep, mkdir, and so forth). There are man pages available for all of the NSH commands.

To examine a sample script, see Sample NSH script - SetServerPropertyValue.nsh.

Was this page helpful? Yes No Submitting... Thank you

Comments