4 Replies Latest reply on Dec 17, 2014 6:13 PM by Bill Robinson

    blcli for list of servers

      Share This:

      I group servers exempt from certain compliance settings in a smart group. I usually run into these one server at a time. I am populating this group by using:


      blcli -v defaultProfile SmartServergroup addcondition /path/to/smartgroup "name" "contains" servername


      Turns out, I have a list (csv) of servers that need to be added and was looking to either loop or assign variable to $servername where servername=`nexec server cat serverlist.csv`. This is where I am stuck - I want this to be able to scale. What is a good approach to get to the next step?