1 Reply Latest reply on Oct 21, 2015 6:33 AM by Bill Robinson

    blcli command to list a particular instance under a property class

    Amit Jash

      Hello,

       

           I am using an existing NSH script and in that there is a blcli command which is listing all the instances under the property class DMGR

       

      Command: blcli_execute PropertyClass listAllInstanceNames "Class://SystemObject/XYZ/DMGR"

       

      Now lets say under that property class DMGR we have some property instances like

       

      RAMIT

      JASH

      PAMIPLE

      KAMIY

      APPLE

      BAT_2

      TAMIY

       

      So the command is listing all the above mentioned instances.

      Now my requirement is something like that I want to list only those instances the name of which has the letters "AMI"

      So the result should be something like this

      RAMIT

      PAMIPLE

      KAMIY

      TAMIY