title: Parsing an XML file with PowerShell
body: <p>One of my application is generating below XML file.</p>
  
  <pre><code>&lt;root&gt;
      &lt;command name="Set"&gt;
          &lt;property name="PWR.WakeupOnLAN" value="6" errorcode="0x0"/&gt;
      &lt;/command&gt;
      &lt;command name="Set"&gt;
      &lt;/command&gt;
      &lt;command name="biossettings"&gt;
          &lt;property name="task" value="Succeeded." errorcode="0x0"/&gt;
      &lt;/command&gt;
  &lt;/root&gt;
  </code></pre>
  
  <p>I am interested in reading the value and errorcodes of "PWR.WakeupOnLAN" property name. Before posting here, I tried various things but couldn't find correct code for reading properties in powershell. Can any one help me with powershell code for this?</p>