title: How do I redirect a portion of a command's output to a variable?
body: <p>When I run <code>bcdedit /enum</code>, it presents me with the following information:</p>
  
  <pre><code>Windows Boot Loader
  -------------------
  identifier              {current}
  device                  partition=C:
  path                    \Windows\system32\winload.exe
  description             Windows 8
  locale                  en-US
  inherit                 {bootloadersettings}
  recoverysequence        {8a06a568-8489-11e3-9c06-bb2fddc43414}
  integrityservices       Enable
  recoveryenabled         Yes
  allowedinmemorysettings 0x15000075
  osdevice                partition=C:
  systemroot              \Windows
  resumeobject            {8a06a566-8489-11e3-9c06-bb2fddc43414}
  nx                      OptOut
  bootmenupolicy          Standard
  hypervisorlaunchtype    Off
  </code></pre>
  
  <p>How can I get the string of "hypervisorlaunchtype", which is currently set to <code>off</code> and pipe it to another command?</p>