5 Replies Latest reply on Jul 26, 2010 10:28 AM by Jude Seth

    blcli commands - authentication profile

      Hi.

       

      I am trying to list all servers in a smart group, the doc refers to 'root' as being the base. I have a smart group as follows;

       

      /servers/Infrastructure/Electronic Markets/ETS Server Inventory

       

      What should me command be to list the servers, I have tried the following, each saying there is no such group.  I have used quotes as the group name contains spaces.

       

      blcli -t BLSSO -v profilename -r rolename SmartServerGroup findGroupByQualifiedName "/servers/Infrastructure/Electronic Markets/ETS Server Inventory"

       

      blcli -t BLSSO -v profilename -r rolename SmartServerGroup findGroupByQualifiedName "/root/Infrastructure/Electronic Markets/ETS Server Inventory"

       

      and the same with single quotes, but i just get errors;

       

      Command execution failed.  Could not find group with name : /root/servers/Infrastructure/Electronic Markets/Broadway and type : 5007

       

      So, questions are;

       

      1) what point in the Servers tab does 'root' refer to, is it servers itself or is it /root/servers ?

      2) How do you deal with fold / group names with spaces ?

       

      Thanks,

       

      Jason