2 Replies Latest reply on Jul 7, 2014 12:12 PM by Ben 10

    SmartServerGroup addCondition error

      Hi everyone,


      I'm trying to create an NSH script to add some condition to a smartservergroup.


      Here's a part of the code:




      smartGroup="/Windows/Antivirus/$week $day $arch

      blcli_execute SmartServerGroup addCondition $smartGroup "ANTIVIRUS" "equals" "12.1.4100.4126"


      But, it's not working. I have this message:


      Wrong nomber of arguments provided to method: addCondition expected: 4 received 6.


      I think that the problem is the "$smartGroup".


      Someone have an idea?


      Thank you very much!