title: Get Value of XML nodes using powershell
body: <p>I don't know how to get the value of the nodes path <strong>Users/test/</strong> and  <strong>/var/root/</strong> of this XML file using PowerShell.</p>
  
  <p>I can read all paths until :</p>
  
  <p>$xmlRead.backupConfig.backupSets.backupSet.backupPaths.pathset.paths </p>
  
  <p>but i can't get the node path </p>
  
  <p>here is the xml example :</p>
  
  <pre><code>&lt;backupConfig&gt;
    &lt;backupSets&gt;
      &lt;backupSet id="1"&gt;
        &lt;name&gt;Backup&lt;/name&gt;
        &lt;priority&gt;1&lt;/priority&gt;
        &lt;backupPaths&gt;
          &lt;lastModified&gt;1550047373343&lt;/lastModified&gt;
          &lt;pathset&gt;
            &lt;paths os="Windows"&gt;
              &lt;path include="/Users/test/"/&gt;
              &lt;path include="/var/root/"/&gt;
            &lt;/paths&gt;
          &lt;/pathset&gt;
       &lt;/backupPaths&gt;
    &lt;/backupSet&gt;
  </code></pre>
  
  <p>
  
  
  <p>Do you have any idea, how i can get these value ?</p>
  
  <p>Thanks,</p>