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.

BLCLI commands added, updated, or removed in recent versions

This topic provides a reference summary of the BLCLI commands added or updated in the past few versions of TrueSight Server Automation. It includes the following sections:

BLCLI commands added or updated in recent versions


BLCLI commands added or updated in version 8.9.04.001

NameSpace

Command

 Description

JobRun

JobRun - abortJobRunByJobRunId

(New) Aborts the Job Run for a given Job Run ID.

JobRun

JobRun - abortJobRunByJobRunKey

(New) Aborts the Job Run for a given Job Run Key.

JobRun

JobRun - cancelJobRunByJobRunId

(New) Cancels the Job Run for a given Job Run ID. 

JobRun

JobRun - cancelJobRunByJobRunKey

(New) Cancels the Job Run for a given Job Run Key. 

SmartPatchCatalogGroup

SmartPatchCatalogGroup - createGroup

(New) Creates a Smart Patch Catalog Group with one condition. 

SmartPatchCatalogGroup

SmartPatchCatalogGroup- addCondition

(New) Adds a new condition to an existing Smart Patch Catalog Group. 

SmartPatchCatalogGroup

SmartPatchCatalogGroup - setDescription_1

(New) Sets the description on a Smart Patch Catalog Group.

SmartPatchCatalogGroup

SmartPatchCatalogGroup - setDescription_2

(New) Sets the description on a Smart Patch Catalog Group. 

SmartPatchCatalogGroup

SmartPatchCatalogGroup- resetConditions

(New)  Clears the existing conditions from a Smart Patch Catalog Group, then adds a new condition to that group. 

SmartPatchCatalogGroup

SmartPatchCatalogGroup- groupNameToId

(New) Finds the group ID of a Smart Patch Catalog Group by its fully qualified name and type string.

SmartPatchCatalogGroup

SmartPatchCatalogGroup - deleteGroupByQualifiedName

(New) Deletes a Smart Patch Catalog Group by its fully qualified name and type string.

SmartPatchCatalogGroup

SmartPatchCatalogGroup - groupNameToDBKey

(New) Finds the DBKey of a Smart Patch Catalog Group by its fully qualified group name and type string. 

SmartPatchCatalogGroup

SmartPatchCatalogGroup - setMatchAll

(New) Sets the Match All value for a Smart Patch Catalog Group. 

Job

Job - jobExistsByTypeStringGroupAndName

(New) Determines whether a job exists when you identify the job by its name and full path of the static group.  

PatchCatalog

PatchCatalog - getCatalogIdByTypeStringAndFullyQualifiedCatalogName

(New) Returns the catalog group ID for the specified details.  

PatchCatalog

PatchCatalog - getCatalogDBKeyByTypeStringAndFullyQualifiedCatalogName

(New) Returns the catalog DBKey for the specified details.

DepotObject

DepotObject - depotObjectExistsByTypeStringGroupAndName

(New) Determines whether a depot object exists when you identify the Depot Object by its name and the full path to the depot group containing the depot object.  

ExecutionTaskExecutionTask - setGroup(New) Updates the save-in location for an Execution Task. 

BLCLI commands added or updated in version 8.9.04

NamespaceCommandDescription
NSHScriptJob

showOnlyScriptLogs

(New) Set the option to show the script logs only for the specified NSH Script Job.


BLCLI commands added or updated in version 8.9.03.001

NamespaceCommandDescription
ProxyServer

addProxyServer

(New) Adds a proxy server and returns true after successful execution.

RoutingPolicy

createNetworkRoutingRule

(New) Creates new instance of network routing rule and saves in database. Returns the fully qualified property instance class object.
RoutingPolicy

addProxyToNetworkRoutingRule

(New) Sets target for routing rule and returns the fully qualified property instance class object.
RoutingPolicy

setDescriptionToNetworkRoutingRule

(New) Sets description for routing rule and returns the fully qualified property instance class object.
PatchingJobPatchingJob - createAixPatchingJobWithTargetServer_4

(New) Creates a Patching Job that is run against an individual server, using an existing AIX catalog.

BLCLI commands added or updated in version 8.9.02

NamespaceCommandDescription
DeletecleanupHistoricalData OldVersionComponent (New) Deletes older version of components that have no association in Snapshot, Audit, or Compliance modules. 
DeletecleanupHistoricalData OldVersionJob (New) Deletes older version of jobs that have no runs associated with that version.
AgentInstallerJob setAgentInstallerJobInstallVCRuntime (New) Update the MSVC option (Install Microsoft Visual C++ 2015 Redistributable (Windows Only)) for the new Agent Installer Job.
PatchingJobcreateRedhatPatchingJobWithTargetServer_2(New) Creates a Patching Job that is run against an individual server, using an existing Red Hat catalog.
PatchingJobcreateRedhatPatchingJobWithTargetServer(Updated) Creates a Patching Job that is run against an individual server, using an existing Red hat catalog.
JobRungetJobRunIdByScheduleId(New) Returns the Job Run ID for a given Schedule ID.
JobRun

getJobRunKeyByScheduleId

(New) Returns the Job Run Key for a given Schedule ID.
NSHScriptgetNSHScriptParamValuesString(New) Retrieves the parameters for the NSH Script Job as a string where each entry is shown as name::valuepairs
BlPackagecreateEmptyPackageReturnDBKey(New)This command creates an empty BLPackage and returns handle to it.

BLCLI commands added or updated in version 8.9.01

NamespaceCommandDescription
 BlAclTemplatelistAllAclTemplates (Updated) Provides a list of ACL templates without further details.
 listAllAclTemplatesWithDetails(New) Provides a list of ACL templates that includes details of template properties.
ComponentExceptioncreateComponentExceptionWithOneRuleWithExpirationDate

(New) Creates a compliance exception with one rule, reference number, and expiration date and sets it on a component.

DeletecleanupFileServerWithEmptyDirectoryScan(New) Cleans all the unused files from the file server and runs the empty directory scan.

BLCLI commands added in version 8.9.00

NamespaceCommandDescription
DeployJobsetPauseOnWindowTimeoutSets a pause on the timeout of a Maintenance Window or Exclusion Window for a Deploy Job.
DeployJobsetWindowTimoutToleranceSets the amount of time (in minutes) before the timeout of a Maintenance Window or Exclusion Window at which a Deploy Job should pause.
ExclusionWindow

All commands in this new name space:

Management of exclusion windows.
FileDeployJobdeleteJobByGroupAndNameDeletes a File Deploy Job (specified by job name and path) and all of its dependents.
MaintenanceWindow

All commands in this new name space:

Management of maintenance windows.
ServerexportExclusionAndMaintenanceWindowsByGroupId

Exports details in CSV format of all maintenance and exclusion windows associated with servers in a specified group (either smart group or static group).

ServerexportExclusionAndMaintenanceWindowsForServersExports details in CSV format of maintenance and exclusion windows associated with all enrolled servers.

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

Comments

  1. Greinger Longbotton

    Where is the documentation about "NSHScriptJob showOnlyScriptLogs" ?

    Sep 18, 2019 01:19
    1. Greinger Longbotton

      I know there is a checkbox in the console, but what about the blcli command?

      Sep 18, 2019 01:19
      1. Ranu Ganguly

        Hi Greinger,

        The documentation for the showOnlyScriptLogs BLCLI command is available at NSHScriptJob - showOnlyScriptLogs.

        Sep 18, 2019 01:37