1 2 Previous Next 16 Replies Latest reply on May 21, 2012 2:08 PM by Bill Robinson

    enumerating a list of servers from a smartgroup

      i am able to sucessfully get a list of servers when i execute


      blcli  Server listServersInGroup "/Servers by OS/Windows/All Windows"


      however, when create a simple script using this command i get a error "Unknown command : name space = 'Server', command = 'listServersInGroup'.com.bladelogic.cli.factory.CommandNotFoundException: Found command 'Server.listServersInGroup' but with mismatching arguments."


      script is:




      GROUP="/Servers by OS/Windows/All Windows"

      SERVER_LIST=`blcli Server listServersInGroup $GROUP`

      for serverName in $SERVER_LIST



      echo "$serverName"




        1 2 Previous Next