0 Replies Latest reply on Feb 23, 2016 4:34 AM by Jonathon Hyam

    BladeLogic blquery registry key with a '/' in the path

    Jonathon Hyam

      Does anyone know how to escape a forward slash '/' in the path of a registry key? I've tried escaping it with '\'


      blquery -h $TARGET -e 'reg_value ("HKEY_LOCAL_MACHINE\\SOFTWARE\\BMC Software\\Control-M/Agent\\CONFIG\\CTMSHOST")'


      I'm trying to get the CONTROL-M/server name and CONTROL-M/agent version from all hosts in the estate via BladeLogic.


      The value returned is always 0. The above command works and returns a value if I rename the registry path Control-M/Agent to Control-MAgent.