title: Save the hexadecimal value from a Reg_Binary key on a variable
body: <p>I Need to extract the value of a REG_BINARY from the registry without make an array. Need to have the value on one line only</p>
  
  <pre><code>#create Object
  $Contentor ="" | Select "HostGUID"
  
  #Read the registry key with REG_BINARY
    $SyLinkScan = Get-ItemProperty -Path 'HKLM:\\SOFTWARE\WOW6432Node\Symantec\Symantec Endpoint Protection\SMC\SYLINK\SyLink'
  
  $Save the RegKey on the object
  $Contentor.HostGUID =  $SyLinkScan.HostGUID
  </code></pre>
  
  <p>The current value that I'm getting the converted value:
  PS C:\Intel\SEPReg> $Contentor.HostGUID
  43
  73
  212
  115
  145
  230
  15
  121
  58
  87
  183
  134
  186
  181
  116
  73</p>
  
  <p>Need the following Result:
  PS C:\Intel\SEPReg> $Contentor.HostGUID
  2B49D47391E60F793A57B786BAB57449</p>