Instead of ??Class:/SystemObject/Server/IP_ADDRESS?? try ??TARGET.IP_ADDRESS??
And notice your typo it should be double //
Hi Scott thanks for your response I have got the following error
Error Mar 30, 2012 1:08:17 PM //@/opt/bmc/BladeLogic/NSH/tmp/application_server/scripts/job__f5dd4ec3-b692-4204-8269-e6d99e1696b1/script_DBKey-SJobKeyImpl-2000009-2__6bd75f64-0319-4310-ab0e-779a29c1d6e8.2000001.1_properties.nsh:10: no matches found: ??TARGET.IP_ADDRESS??
this is the blcli command that I am now running
blcli_execute PropertyClass addProperty Class://SystemObject/Server _MGMT_IP_ADDRESS "IP Address assigned to Mgmt Interface" Primitive:/String false false ??TARGET.IP_ADDRESS??
sorry looking at this a little more closely you want to add a property to a class... correct?
so firstly you need to have established the custom class where you want the _MGMTP_IP_ADDRESS to be created. And I am sure you dont want to create that same property each time rather you want to have an instance where you set the value for each instance correct?
So dont you want the PropertyInstance blcli class?
Besides, "Class://SystemObject/Server _MGMT_IP_ADDRESS" has a space in it and would not work.
Maybe define your objective here and we can point the appropriate blcli out for you.
EDIT to add that ??TARGET.property?? var is set based on the NSH Script type that you have set and I think should be a type 1
you may need to put the ??TARGET.IP_ADDRESS?? in single quotes to keep your shell from evaluating the ?