title: Get same string value from reg subfolders
body: <p>I am trying to export from registry multiple string records with name 'PackageName' from <code>Hive: HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Patches\</code> Under it there is subfolders with arbitrary name similar to <code>'1636371008E66D24FB90522C7ECB2F2F'</code> and at the end <code>\SourceList</code></p>
  
  <p>So full patch to each folder is </p>
  
  <blockquote>
    <p>HKLM:\SOFTWARE\Classes\Installer\Patches\1636371008E66D24FB90522C7ECB2F2F\SourceList</p>
  </blockquote>
  
  <p>Each string contains Data starting with <code>'OASyS DNA *'</code></p>
  
  <p>Problems started since each machine have different number of installed patches and different arbitrary names for installation package <code>'1636371008E66D24FB90522C7ECB2F2F'</code>.</p>
  
  <p>Was working with <code>Get-ChildItem -Path HKLM:\SOFTWARE\Classes\Installer\Patches\</code></p>
  
  <p>&amp; </p>
  
  <pre><code>Get-ItemPropertyValue -Path HKLM:\SOFTWARE\Classes\Installer\Patches\1636371008E66D24FB90522C7ECB2F2F\SourceList PackageName
  </code></pre>
  
  <p>I could get single value, but not full list of installed hotfixes.</p>
  
  <blockquote>
    <p>OASyS DNA Infrastructure-Arbitration Hotfix 8.0.2.2.msp</p>
  </blockquote>