Danny, I've run exactly the syntax you've wrote above:
run-script script-name 'Show interface summary' script '$CPDIR/bin/cprid_util -server IP-OF-YOUR-MGMT -verbose rexec -rcmd /bin/bash -c "cpstat os -f ifconfig"' targets.1 NAME-OF-YOUR-MGMT --format json --sync false
I think I don't get what you're referring to. When I run that command from MGM CLI it gave me exactly this output:
"code" : "generic_err_object_not_found",
"message" : "Requested object [NAME-OF-YOUR-MGMT] not found"
I've just pasted following command after ">":
run-script script-name 'Show interface summary' script '$CPDIR/bin/cprid_util -server IP-OF-YOUR-MGMT -verbose rexec -rcmd /bin/bash -c "cpstat os -f ifconfig"' targets.1 NAME-OF-YOUR-MGMT --format json --sync false
what's wrong ?
Jerry