TSSA/BSA | How to export the list of depot objects in a catalog using PatchCatalog - listAllByCatalogNameAndType blcli

Version 1
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    TrueSight Server Automation Suite


    COMPONENT:

    TrueSight API and BLCLI


    APPLIES TO:

    Versions supporting PatchCatalog - listAllByCatalogNameAndType blcli



    QUESTION:

    How to export the list of Depot Objects in a Truesight Server Automation (TSSA) catalog using PatchCatalog - listAllByCatalogNameAndType blcli


    ANSWER:

     

    The PatchCatalog listAllByCatalogNameAndType blcli command can be used to get the list of objects in a patch catalog.

    Refer - https://docs.bmc.com/docs/blcli/89/patchcatalog-listallbycatalognameandtype-655601638.html

    Blcli command format -
    blcli_execute PatchCatalog listAllByCatalogNameAndType "/Path to catalog/catalog name" "catalogTypeString"

    Blcli command example -
    User-added image


    For the above patch catalog (Redhat 7), execute command like:

    blcli_execute PatchCatalog listAllByCatalogNameAndType "/Patch Catalogs/Redhat/Redhat 7" "RED_HAT_CATALOG_GROUP"

     


    Article Number:

    000114675


    Article Type:

    FAQ/Procedural



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles