SIEM, Vulnerability Scanning, Server Monitoring and Compliance Training for IT Professionals
Table of Contents

Command Line Interface

Corner Bowl Server Manager includes a Command Line Interface (CLI) enabling users to generate automation scripts. By default, the program is installed in the following location:

Windows

C:\Program Files\Corner Bowl\Server Manager\cbsmcli.exe

Linux

/usr/bin/corner-bowl/server-manager/cbsmcli.dll

To run the command line interface:

Windows

  • Open a command-prompt.
  • Change to the directory the CLI is installed then run the program. For example:
    cbsmcli.exe

Linux

  • Open a command-prompt.
  • Change to the directory the CLI is installed then run the program. For example:
    dotnet cbsmcli.dll

Reference:

Connection Parameters:
-h    Host     The hostname the service is running. 
               Default Value: HOYT 
               Optional: True 
-port Port     The port the service us listening on. 
               Possible Values: 1 - 65535 
               Default Value: 21843 
               Optional: True 
-x    Encrypt  True to connect using TLS 1.2. 
               Possible Values: true, false 
               Default Value: false 
               Optional: True 
-u    Username The username of the account to connect as. 
               Optional: False 
-p    Password The account password. 
               Optional: False 
-d    Domain   The domain to login to. 
               Optional: True 
Commands:
-execute Execute Execute the specified report, monitor or function. 
                 Parameters:
                 -t    Template The name of the template. 
                                Optional: True 
                 -host Host     The name of the Host. 
                                Optional: True 
                 -r    Report   The name of the Report. 
                                Optional: True 
-import  Import  Import a Corner Bowl Server Manager object file (.datx). 
                 Parameters:
                 -f Filename The full path of the datx file to import. 
                             Optional: False 
-enable  Enable  Automatically enable or disable the specified object 
                 Parameters:
                 -t     Template The name of the template. 
                                 Optional: False 
                 -e     Enable   True to enable. 
                                 Possible Values: true or false 
                                 Default Value: true 
                                 Optional: True 
                 -w     Wait     The time to wait before enabling. 
                                 Possible Values: 0 - 65535 
                                 Default Value: 0 
                                 Optional: True 
                 -units Units    The units to wait before enabling. 
                                 Possible Values: Minutes, Hours, Days, Weeks 
                                 Default Value: Minutes 
                                 Optional: True 

Related Topics

Hosts

Templates

Reports